dashboard
repositories
filestore
activity
search
login
main
/
moral_manage
summary
reflog
commits
tree
tickets
docs
forks
compare
blame
|
history
|
raw
fix: 显示矩形修改
quanyawei
2024-05-13
08633f23e4955c7e5f79d19912741cc22ef3f1e0
[moral_manage.git]
/
src
/
directives
/
AclDirective.ts
1
2
3
4
5
6
7
8
9
10
import Vue from 'vue';
// todo: acl 指令
// document title 指令
Vue.directive('acl', {
// inserted: (el, binding) => document.title = binding.value,
update: (el, binding, vnode) => {
document.title = binding.value;
},
});