From 8090861bc6cc8951268e8e758b798f1a9463376f Mon Sep 17 00:00:00 2001 From: Charles7c Date: Wed, 9 Jul 2025 22:37:00 +0800 Subject: [PATCH] =?UTF-8?q?refactor(system/role):=20=E4=BC=98=E5=8C=96?= =?UTF-8?q?=E8=A7=92=E8=89=B2=E6=9D=83=E9=99=90=E4=BB=A3=E7=A0=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../system/role/components/Permission.vue | 214 ++++++++++++------ 1 file changed, 146 insertions(+), 68 deletions(-) diff --git a/src/views/system/role/components/Permission.vue b/src/views/system/role/components/Permission.vue index 12ac6e3..5478f5b 100644 --- a/src/views/system/role/components/Permission.vue +++ b/src/views/system/role/components/Permission.vue @@ -8,7 +8,7 @@ :scroll="{ x: '100%', y: '100%', minWidth: 1000 }" :pagination="false" :disabled-tools="['fullscreen', 'size', 'setting']" - :row-selection="{ type: 'checkbox', showCheckedAll, selectRowKeys: selectedKeys }" + :row-selection="disabled ? false : { type: 'checkbox', showCheckedAll: showCheckedAll && !disabled, selectRowKeys: selectedKeys }" @select="select" @select-all="selectAll" @refresh="refresh" @@ -44,7 +44,7 @@