gowshwah
2026-03-12 571a25d4865e8865cf1e80f3ba86cc4cbebe8d03
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) {