dashboard
repositories
filestore
activity
search
login
main
/
moral_manage
summary
reflog
commits
tree
tickets
docs
forks
compare
blame
|
history
|
raw
fix:分页修复
quanyawei
2024-02-04
bb01efc540180a7f4d25217f628f0dbb60634127
[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,
});