fuyongxin
2026-06-03 00e0dbbf98347b1e47a7e0aedd41baa61f7567ed
ruoyi-ui/src/directive/permission/hasPermi.js
@@ -2,13 +2,13 @@
 * v-hasPermi 操作权限处理
 * Copyright (c) 2019 ruoyi
 */
import store from '@/store'
export default {
  inserted(el, binding, vnode) {
    const { value } = binding
    const all_permission = "*:*:*";
    const all_permission = "*:*:*"
    const permissions = store.getters && store.getters.permissions
    if (value && value instanceof Array && value.length > 0) {