多规格选择购买页面数量赋值问题处理

This commit is contained in:
2022-10-13 14:36:32 +08:00
parent 60c2738592
commit d9d9516984
6 changed files with 165 additions and 166 deletions

View File

@@ -82,9 +82,9 @@
},
onShow() {
if (JSON.stringify(this.$store.getters.getAddress) !== '{}') this.address = this.$store.getters.getAddress
this.qty = this.$Route.query.qty;
},
onLoad() {
this.qty = this.$Route.query.qty;
if (this.$Route.query.type === 'pin') {
this.type = 'pin'
}