chenhj
2 天以前 648f83f5d4480ae9c2794d5f4e114085943bdf6e
src/directive/permission/hasRole.js
@@ -8,7 +8,7 @@
export default {
  mounted(el, binding, vnode) {
    const { value } = binding
    const super_admin = "admin";
    const super_admin = "admin"
    const roles = useUserStore().roles
    if (value && value instanceof Array && value.length > 0) {