Toggle navigation
Toggle navigation
This project
Loading...
Sign in
fe
/
xianyu-ufo-app-web
·
Commits
Go to a project
GitLab
Go to group
Project
Activity
Files
Commits
Pipelines
0
Builds
0
Graphs
Milestones
Issues
0
Merge Requests
0
Members
Labels
Wiki
Forks
Network
Create a new issue
Download as
Email Patches
Plain Diff
Browse Files
Authored by
yyq
2019-10-18 17:24:00 +0800
Commit
406c59a62be700cc851ce3face8aa93410e7a298
1 parent
cef3c36c
ssr title
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
1 additions
and
7 deletions
apps/components/layout/layout-header.vue
doraemon/middleware/ssr.js
apps/components/layout/layout-header.vue
View file @
406c59a
...
...
@@ -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 });
}
}
}, 100);
...
...
doraemon/middleware/ssr.js
View file @
406c59a
...
...
@@ -162,6 +162,7 @@ const render = (route) => {
}
const
result
=
template
({
title
:
context
.
title
||
''
,
html
,
styles
,
scripts
,
...
...
Please
register
or
login
to post a comment