RuoYi
2026-01-28 28be96930c60e1ca231e12a864cee0c30ed9a5f2
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) {