From deb107dd7924cccf4cde2b1dabee9b8eee2c7991 Mon Sep 17 00:00:00 2001 From: zer0Black Date: Tue, 30 May 2023 10:40:34 +0800 Subject: [PATCH] =?UTF-8?q?=E3=80=90fix=20bug=E3=80=91=E4=BF=AE=E6=94=B9v-?= =?UTF-8?q?has=E6=8C=89=E9=92=AE=E6=9D=83=E9=99=90=E4=B8=8D=E7=94=9F?= =?UTF-8?q?=E6=95=88?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- jero-web/src/utils/hasPermission.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/jero-web/src/utils/hasPermission.js b/jero-web/src/utils/hasPermission.js index d4059c9d..886a317e 100644 --- a/jero-web/src/utils/hasPermission.js +++ b/jero-web/src/utils/hasPermission.js @@ -87,7 +87,7 @@ export function filterGlobalPermission (el, binding) { if (allPermissionList && allPermissionList.length > 0) { for (const itemG of allPermissionList) { if (binding.value === itemG.action) { - if (itemG.status + '' !== '0') { + if (itemG.status + '' === '0') { invalidFlag = true break }