新人优惠券显示问题,使用优惠券价格问题

This commit is contained in:
2020-08-20 10:25:58 +08:00
parent c4821f888f
commit 51823edb12
6 changed files with 41 additions and 19 deletions

View File

@@ -20,6 +20,7 @@ const store = new Vuex.Store({
token: "", // 储存token
showLoginModel: false, // 登录框
question: {}, // 帮助与反馈
showCoupons: true, // 是否显示新人领取优惠券
},
getters: {
getOrderAddress(state) {
@@ -79,6 +80,9 @@ const store = new Vuex.Store({
},
setQuestion(state, question) {
state.question = question;
},
updateShowCoupons(state, status) {
state.showCoupons = status;
}
}
})