mirror of
https://github.com/continew-org/continew-admin-ui.git
synced 2025-11-03 22:57:09 +08:00
refactor: 调整 eslint.config.js,优化代码格式
This commit is contained in:
@@ -6,5 +6,5 @@ export default {
|
||||
install(Vue: App) {
|
||||
Vue.directive('permission', hasPerm)
|
||||
Vue.directive('role', hasRole)
|
||||
}
|
||||
},
|
||||
}
|
||||
|
||||
@@ -29,7 +29,7 @@ const directive: Directive = {
|
||||
},
|
||||
updated(el: HTMLElement, binding: DirectiveBinding) {
|
||||
checkPermission(el, binding)
|
||||
}
|
||||
},
|
||||
}
|
||||
|
||||
export default directive
|
||||
|
||||
@@ -28,7 +28,7 @@ const directive: Directive = {
|
||||
},
|
||||
updated(el: HTMLElement, binding: DirectiveBinding) {
|
||||
checkRole(el, binding)
|
||||
}
|
||||
},
|
||||
}
|
||||
|
||||
export default directive
|
||||
|
||||
Reference in New Issue
Block a user