多规格选择购买页面数量赋值问题处理
This commit is contained in:
@@ -37,7 +37,7 @@
|
||||
})
|
||||
} else {
|
||||
console.log('back........', this.task_id)
|
||||
if (this.task_id != '') {
|
||||
if (this.task_id && this.task_id != '') {
|
||||
uni.showModal({
|
||||
title: '温馨提示',
|
||||
content: '是否确认将该商品发货到这个位置',
|
||||
@@ -47,7 +47,6 @@
|
||||
cancelText: '再想想',
|
||||
success: (res) => {
|
||||
if (res.confirm) {
|
||||
console.log('调用该接口。。。。');
|
||||
uni.navigateBack();
|
||||
}
|
||||
if (res.cancel) {
|
||||
|
||||
@@ -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