RuoYi
2026-02-11 661e8cf7b40d79d2024969e56f04100b31abef1a
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) {