refactor(仪表板、数据大屏): 桌面版工作台、flyway等问题适配

This commit is contained in:
wangjiahao 2024-12-16 18:05:58 +08:00 committed by 王嘉豪
parent 023dfdb02d
commit 4276063149
3 changed files with 6 additions and 2 deletions

View File

@ -4213,7 +4213,7 @@ DROP TABLE IF EXISTS `core_opt_recent`;
CREATE TABLE `core_opt_recent`
(
`id` bigint NOT NULL COMMENT 'ID',
`resource_id` bigint NOT NULL COMMENT '资源ID',
`resource_id` bigint DEFAULT NULL COMMENT '资源ID',
`uid` bigint NOT NULL COMMENT '用户ID',
`resource_type` int NOT NULL COMMENT '资源类型',
`opt_type` int DEFAULT NULL COMMENT '1 新建 2 修改',

View File

@ -70,6 +70,10 @@ VALUES (30, 0, 1, 'toolbox', null, 7, 'icon_template', '/toolbox', 1, 1, 0);
INSERT INTO `core_menu`
VALUES (31, 30, 2, 'template-setting', 'toolbox/template-setting', 1, 'icon_template', '/template-setting', 0, 1, 1);
ALTER TABLE `core_opt_recent`
MODIFY COLUMN `resource_id` bigint NULL COMMENT '资源ID';
ALTER TABLE core_opt_recent
ADD `resource_name` varchar(255) NULL COMMENT '资源名称';

View File

@ -54,7 +54,7 @@ const state = reactive({
})
const busiDataMap = computed(() => interactiveStore.getData)
const shareDisable = computed(() => {
return shareStore.getShareDisable
return shareStore.getShareDisable || desktop
})
const iconMap = {
panel: icon_dashboard_outlined,