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