Authored by yyq

ssr title

... ... @@ -43,14 +43,7 @@ export default {
if (this.title) {
let title = this.title;
setTitle(title);
if (!window.WindVane) {
setTimeout(() => {
this.$xianyu.setXianyuTitle({ title });
}, 1000);
} else {
this.$xianyu.setXianyuTitle({ title });
}
this.$xianyu.setXianyuTitle({ title });
}
}, 100);
... ...
... ... @@ -162,6 +162,7 @@ const render = (route) => {
}
const result = template({
title: context.title || '',
html,
styles,
scripts,
... ...