优化服务详情页面

This commit is contained in:
TOP糯米 2023-04-09 10:47:53 +08:00
parent 2065e1c5b3
commit 04896b5455
1 changed files with 7 additions and 0 deletions

View File

@ -152,6 +152,7 @@ export default {
this.appraise.total = this.appraise.cate[0].count; this.appraise.total = this.appraise.cate[0].count;
this.changeAppraiseCate(this.appraise.cate[0], 0); this.changeAppraiseCate(this.appraise.cate[0], 0);
}); });
this.initPage();
}, },
onShow() {}, onShow() {},
onReady() {}, onReady() {},
@ -163,6 +164,12 @@ export default {
onShareTimeline() {}, onShareTimeline() {},
onShareAppMessage() {}, onShareAppMessage() {},
methods: { methods: {
/**
* 初始化页面
*/
initPage() {
this.$store.dispatch("cart/update");
},
/** /**
* 分享 * 分享
*/ */