Authored by ityuany

Merge branch 'feature/0730/yuany' of git.yoho.cn:fe/yoho-community-web into feature/0730/yuany

... ... @@ -29,11 +29,11 @@ export default {
sceneId: YAS.scene.list
};
},
created() {
this.setTitle();
},
mounted() {
// 自定义title
const { title = '' } = this.yoho.context;
this.title = title || '发现好货';
this.setTitle();
},
async serverPrefetch() {
return this.fetchFindNiceGoodsArticles({
... ... @@ -51,6 +51,12 @@ export default {
},
methods: {
...mapActions(['fetchFindNiceGoodsArticles']),
setTitle() {
// 自定义title
const { title = '' } = this.yoho.context;
this.title = title || '发现好货';
},
init() {
this.page = 1;
this.$refs.article.init();
... ...