Commit 7e699d37 by 姜鹏凯

按钮权限调整

1 parent 003ffebd
......@@ -5,7 +5,7 @@
import store from '@/store'
export default {
inserted(el, binding, vnode) {
inserted (el, binding, vnode) {
const { value } = binding
const all_permission = "*:*:*";
const permissions = store.getters && store.getters.permissions
......@@ -18,7 +18,7 @@ export default {
})
if (!hasPermissions) {
el.parentNode && el.parentNode.removeChild(el)
// el.parentNode && el.parentNode.removeChild(el)
}
} else {
throw new Error(`请设置操作权限标签值`)
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!