...
|
...
|
@@ -38,10 +38,14 @@ export default { |
|
|
if (!setTitle) {
|
|
|
return this.title;
|
|
|
}
|
|
|
if (this.title) {
|
|
|
setTitle(this.title);
|
|
|
this.$xianyu.setXianyuTitle({ title: this.title });
|
|
|
}
|
|
|
|
|
|
setTimeout(() => {
|
|
|
if (this.title) {
|
|
|
setTitle(this.title);
|
|
|
this.$xianyu.setXianyuTitle({ title: this.title });
|
|
|
}
|
|
|
}, 100);
|
|
|
|
|
|
this.setTitle = setTitle;
|
|
|
},
|
|
|
computed: {
|
...
|
...
|
|