【fix bug】修改v-has按钮权限不生效

This commit is contained in:
zer0Black
2023-05-30 10:40:34 +08:00
parent 6bd024f4b4
commit deb107dd79
+1 -1
View File
@@ -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
}