From fdf91965d9434cc27f8667ec6614b64dc01f00f0 Mon Sep 17 00:00:00 2001 From: sjl <1716605279@qq.com> Date: Mon, 23 Dec 2024 14:05:53 +0800 Subject: [PATCH] =?UTF-8?q?=E5=BE=AE=E8=B0=83?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../role/components/roleResourcePopup.vue | 1 - .../views/home/components/channelsTest.vue | 98 +++++++++++-------- frontend/src/views/home/components/table.vue | 8 +- .../src/views/home/components/testPopup.vue | 19 +++- .../components/errorSystemDetailTable.vue | 62 ++---------- .../components/errorSystemPopup.vue | 55 +++++++++-- 6 files changed, 138 insertions(+), 105 deletions(-) diff --git a/frontend/src/views/authority/role/components/roleResourcePopup.vue b/frontend/src/views/authority/role/components/roleResourcePopup.vue index e8db775..0f4212a 100644 --- a/frontend/src/views/authority/role/components/roleResourcePopup.vue +++ b/frontend/src/views/authority/role/components/roleResourcePopup.vue @@ -146,7 +146,6 @@ const open = async (sign: string, data: Role.RoleBO, AllFunction: Function.ResFu const allIds = getAllIds(AllFunction); // 匹配 roleFunctions 中的 id 并设置 checkedKeys const checkedKeys = allIds.filter(id => roleFunctions.some(roleFunc => roleFunc.id === id)); - // 过滤出叶子节点 const leafCheckedKeys = filterLeafNodes(AllFunction, checkedKeys); diff --git a/frontend/src/views/home/components/channelsTest.vue b/frontend/src/views/home/components/channelsTest.vue index 08ce89d..3d6a445 100644 --- a/frontend/src/views/home/components/channelsTest.vue +++ b/frontend/src/views/home/components/channelsTest.vue @@ -42,7 +42,7 @@
- +