dashboard
repositories
filestore
activity
search
login
main
/
moral_manage
summary
reflog
commits
tree
tickets
docs
forks
compare
blame
|
history
|
raw
Merge branch 'feature_1.0' into qa
quanyawei
2023-09-21
a5eb9feae9bb82c6d42b46d5804f714d5edbf35b
[moral_manage.git]
/
src
/
directives
/
DocTitleDirective.ts
1
2
3
4
5
6
7
import Vue from 'vue';
// document title 指令
Vue.directive('title', {
inserted: (el, binding) => document.title = binding.value,
update: (el, binding) => document.title = binding.value,
});