[代码优化](v2.6):update
This commit is contained in:
@@ -2,7 +2,6 @@ import store from '@/store'
|
||||
|
||||
export default {
|
||||
inserted(el, binding) {
|
||||
console.log(el, binding)
|
||||
const { value } = binding
|
||||
const roles = store.getters && store.getters.roles
|
||||
if (value && value instanceof Array) {
|
||||
|
||||
Reference in New Issue
Block a user