gongchunyi
3 天以前 a32f1459f41ea06b9e004f557445d7de5d8c75d7
src/directive/permission/hasPermi.js
@@ -8,7 +8,7 @@
export default {
  mounted(el, binding, vnode) {
    const { value } = binding
    const all_permission = "*:*:*";
    const all_permission = "*:*:*"
    const permissions = useUserStore().permissions
    if (value && value instanceof Array && value.length > 0) {