Initial commit: web_hghl admin project
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
This commit is contained in:
Executable
+18
@@ -0,0 +1,18 @@
|
||||
/*
|
||||
* @Author: your name
|
||||
* @Date: 2020-05-21 19:47:42
|
||||
* @LastEditTime: 2020-10-08 10:57:37
|
||||
* @LastEditors: 王涛
|
||||
* @Description: In User Settings Edit
|
||||
* @FilePath: /sz-web-client/src/directive/permission/permission.js
|
||||
*/
|
||||
|
||||
export default {
|
||||
inserted(el, binding, vnode) {
|
||||
if (binding.value) {
|
||||
if (!binding.value.status) {
|
||||
el.parentNode && el.parentNode.removeChild(el)
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user