多规格选择购买页面数量赋值问题处理
This commit is contained in:
@@ -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'
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user