dashboard
repositories
filestore
activity
search
login
main
/
moral_manage
summary
reflog
commits
tree
tickets
docs
forks
compare
blame
|
history
|
raw
fix:责任单位修改
quanyawei
2023-10-07
0c70804c83d63f5dd1c29550aa6eac60bd8dac1a
[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,
});