BUG 31009
This commit is contained in:
@@ -101,6 +101,14 @@ export default {
|
||||
return this.moreTabs?.some(e => e.id == this.active)
|
||||
}
|
||||
},
|
||||
watch: {
|
||||
title: {
|
||||
immediate: true,
|
||||
handler(v) {
|
||||
v && (document.title = v)
|
||||
}
|
||||
}
|
||||
},
|
||||
data() {
|
||||
return {
|
||||
currentTime: '',
|
||||
@@ -170,7 +178,6 @@ export default {
|
||||
}
|
||||
},
|
||||
created() {
|
||||
document.title = this.title
|
||||
setInterval(() => {
|
||||
this.currentTime = this.$moment().format("YYYY/MM/DD HH:mm:ss")
|
||||
}, 1000)
|
||||
|
||||
Reference in New Issue
Block a user