dashboard
repositories
filestore
activity
search
login
main
/
moral_manage
summary
reflog
commits
tree
tickets
docs
forks
compare
blame
|
history
|
raw
fix:路段添加时间提示
guoshipeng
2023-09-08
bba69a0ccdfe3dddab920aa0de16fb33c0f3693b
[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,
});