fix: 删除自定义指令consolelog
This commit is contained in:
@@ -10,7 +10,6 @@ export const hasPerm = (el, binding, vnode) => {
|
||||
const hasPermission = permisstions.some(permission => {
|
||||
return allPermission === permission || permissiosFlag.includes(permission)
|
||||
})
|
||||
console.log(hasPermission);
|
||||
if (!hasPermission) {
|
||||
el.parentNode && el.parentNode.removeChild(el)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user