From e567b2f91e3ff5e7626b727ba2363165ed5228e9 Mon Sep 17 00:00:00 2001 From: wangjiahao <1522128093@qq.com> Date: Wed, 11 Jan 2023 18:40:31 +0800 Subject: [PATCH] =?UTF-8?q?feat(=E8=A7=86=E5=9B=BE):=20=E8=A7=86=E5=9B=BE?= =?UTF-8?q?=E6=98=8E=E7=BB=86=E5=AF=BC=E5=87=BA=E5=A2=9E=E5=8A=A0=E6=9D=83?= =?UTF-8?q?=E9=99=90=E6=8E=A7=E5=88=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../resources/db/migration/V49__1.18.2.sql | 182 ------------------ .../canvas/components/editor/Preview.vue | 3 +- .../canvas/customComponent/UserView.vue | 3 +- 3 files changed, 2 insertions(+), 186 deletions(-) diff --git a/backend/src/main/resources/db/migration/V49__1.18.2.sql b/backend/src/main/resources/db/migration/V49__1.18.2.sql index 71d0e02a1c..0692bc8d37 100644 --- a/backend/src/main/resources/db/migration/V49__1.18.2.sql +++ b/backend/src/main/resources/db/migration/V49__1.18.2.sql @@ -2,185 +2,3 @@ UPDATE `my_plugin` SET `version` = '1.18.2' where `plugin_id` > 0 and `version` = '1.18.1'; - -UPDATE `sys_menu` -SET `pid` = 8 -WHERE `menu_id` = 800; - -INSERT INTO `sys_menu` (`menu_id`, - `pid`, - `sub_count`, - `type`, - `title`, - `name`, - `component`, - `menu_sort`, - `icon`, - `path`, - `i_frame`, - `cache`, - `hidden`, - `permission`, - `create_by`, - `update_by`, - `create_time`, - `update_time`) -VALUES (802, - 0, - 0, - 2, - '视图导出', - NULL, - NULL, - 999, - NULL, - NULL, - 0, - 0, - 0, - 'view:export', - NULL, - NULL, - NULL, - NULL); - -INSERT INTO `sys_auth` (`id`, - `auth_source`, - `auth_source_type`, - `auth_target`, - `auth_target_type`, - `auth_time`, - `auth_details`, - `auth_user`, - `update_time`, - `copy_from`, - `copy_id`) -VALUES ('dc3536c2-5193-4fcd-a875-926e3e712344', - '802', - 'menu', - '2', - 'role', - 1673405964319, - NULL, - 'admin', - NULL, - NULL, - NULL); -INSERT INTO `sys_auth` (`id`, - `auth_source`, - `auth_source_type`, - `auth_target`, - `auth_target_type`, - `auth_time`, - `auth_details`, - `auth_user`, - `update_time`, - `copy_from`, - `copy_id`) -VALUES ('dc7fa546-9ac4-49a7-8af2-152be9fdde68', - '802', - 'menu', - '1', - 'role', - 1673405986872, - NULL, - 'admin', - NULL, - NULL, - NULL); -INSERT INTO `sys_auth_detail` (`id`, - `auth_id`, - `privilege_name`, - `privilege_type`, - `privilege_value`, - `privilege_extend`, - `remark`, - `create_user`, - `create_time`, - `update_time`, - `copy_from`, - `copy_id`) -VALUES ('01c6367b-915c-11ed-bd88-0242ac130004', - 'dc7fa546-9ac4-49a7-8af2-152be9fdde68', - 'i18n_auth_grant', - 15, - 0, - 'grant', - '基础权限-授权', - 'admin', - 1673405987000, - NULL, - NULL, - NULL); -INSERT INTO `sys_auth_detail` (`id`, - `auth_id`, - `privilege_name`, - `privilege_type`, - `privilege_value`, - `privilege_extend`, - `remark`, - `create_user`, - `create_time`, - `update_time`, - `copy_from`, - `copy_id`) -VALUES ('01c63c6c-915c-11ed-bd88-0242ac130004', - 'dc7fa546-9ac4-49a7-8af2-152be9fdde68', - 'i18n_auth_use', - 1, - 1, - 'use', - '基础权限-使用', - 'admin', - 1673405987000, - NULL, - NULL, - NULL); -INSERT INTO `sys_auth_detail` (`id`, - `auth_id`, - `privilege_name`, - `privilege_type`, - `privilege_value`, - `privilege_extend`, - `remark`, - `create_user`, - `create_time`, - `update_time`, - `copy_from`, - `copy_id`) -VALUES ('f4559db9-915b-11ed-bd88-0242ac130004', - 'dc3536c2-5193-4fcd-a875-926e3e712344', - 'i18n_auth_grant', - 15, - 0, - 'grant', - '基础权限-授权', - 'admin', - 1673405964000, - NULL, - NULL, - NULL); -INSERT INTO `sys_auth_detail` (`id`, - `auth_id`, - `privilege_name`, - `privilege_type`, - `privilege_value`, - `privilege_extend`, - `remark`, - `create_user`, - `create_time`, - `update_time`, - `copy_from`, - `copy_id`) -VALUES ('f455a074-915b-11ed-bd88-0242ac130004', - 'dc3536c2-5193-4fcd-a875-926e3e712344', - 'i18n_auth_use', - 1, - 1, - 'use', - '基础权限-使用', - 'admin', - 1673405964000, - NULL, - NULL, - NULL); diff --git a/frontend/src/components/canvas/components/editor/Preview.vue b/frontend/src/components/canvas/components/editor/Preview.vue index 63be1e3724..648499c89c 100644 --- a/frontend/src/components/canvas/components/editor/Preview.vue +++ b/frontend/src/components/canvas/components/editor/Preview.vue @@ -120,8 +120,7 @@ {{ $t('chart.export_img') }} diff --git a/frontend/src/components/canvas/customComponent/UserView.vue b/frontend/src/components/canvas/customComponent/UserView.vue index 4912efc13a..475fdf50bf 100644 --- a/frontend/src/components/canvas/customComponent/UserView.vue +++ b/frontend/src/components/canvas/customComponent/UserView.vue @@ -149,8 +149,7 @@ {{ $t('chart.export_img') }}