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