dashboard
repositories
filestore
activity
search
login
main
/
moral_manage
summary
reflog
commits
tree
tickets
docs
forks
compare
blame
|
history
|
raw
fix
guoshipeng
2023-08-09
cbaef03bfcdb46feb5a185a7dcd90ab3df93e5c3
[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,
});