Merge branch 'develop' of git.yoho.cn:fe/xianyu-ufo-app-web into develop
Showing
1 changed file
with
8 additions
and
9 deletions
@@ -41,16 +41,15 @@ export default { | @@ -41,16 +41,15 @@ export default { | ||
41 | 41 | ||
42 | setTimeout(() => { | 42 | setTimeout(() => { |
43 | if (this.title) { | 43 | if (this.title) { |
44 | - setTitle(this.title); | 44 | + let title = this.title; |
45 | + setTitle(title); | ||
45 | 46 | ||
46 | - if (this.isAliApp) { | ||
47 | - if (window.WindVane) { | ||
48 | - setTimeout(() => { | ||
49 | - this.$xianyu.setXianyuTitle({ title: this.title }); | ||
50 | - }, 1000); | ||
51 | - } else { | ||
52 | - this.$xianyu.setXianyuTitle({ title: this.title }); | ||
53 | - } | 47 | + if (!window.WindVane) { |
48 | + setTimeout(() => { | ||
49 | + this.$xianyu.setXianyuTitle({ title }); | ||
50 | + }, 1000); | ||
51 | + } else { | ||
52 | + this.$xianyu.setXianyuTitle({ title }); | ||
54 | } | 53 | } |
55 | } | 54 | } |
56 | }, 100); | 55 | }, 100); |
-
Please register or login to post a comment