From 45962b5e1e07c8bef19e11818e4cdde90d6c464d Mon Sep 17 00:00:00 2001 From: shiziyuan9527 Date: Tue, 1 Jun 2021 18:13:41 +0800 Subject: [PATCH] =?UTF-8?q?refactor(=E6=9D=83=E9=99=90=E8=AE=BE=E7=BD=AE):?= =?UTF-8?q?=20=E5=A2=9E=E5=8A=A0=E5=85=A8=E9=80=89=E6=93=8D=E4=BD=9C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../settings/system/group/EditPermission.vue | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/frontend/src/business/components/settings/system/group/EditPermission.vue b/frontend/src/business/components/settings/system/group/EditPermission.vue index 94365a327a..24b6e78116 100644 --- a/frontend/src/business/components/settings/system/group/EditPermission.vue +++ b/frontend/src/business/components/settings/system/group/EditPermission.vue @@ -35,6 +35,15 @@ + + + 确定 @@ -142,6 +151,9 @@ export default { } } }, + handleSelectAll(check, permissions) { + permissions.map(p => p.checked = check); + } } }