no message
This commit is contained in:
@@ -505,7 +505,7 @@ export default {
|
|||||||
goodsNum: this.orderInfo.quantity,// 商品数量
|
goodsNum: this.orderInfo.quantity,// 商品数量
|
||||||
}
|
}
|
||||||
console.log('selectTempl',selectTempl)
|
console.log('selectTempl',selectTempl)
|
||||||
if(isBy){
|
if(this.ji == 1){
|
||||||
params['specsId'] = selectTempl;
|
params['specsId'] = selectTempl;
|
||||||
uni.navigateTo({
|
uni.navigateTo({
|
||||||
url: `/pages/order_package/order_submit/order_submit?sed=${JSON.stringify(params)}`,
|
url: `/pages/order_package/order_submit/order_submit?sed=${JSON.stringify(params)}`,
|
||||||
@@ -514,17 +514,17 @@ export default {
|
|||||||
}
|
}
|
||||||
const resp = await addGoods(params);
|
const resp = await addGoods(params);
|
||||||
if (resp && resp.bizcode === 100) {
|
if (resp && resp.bizcode === 100) {
|
||||||
// if (isBy) {
|
if (isBy) {
|
||||||
// uni.navigateTo({
|
uni.navigateTo({
|
||||||
// url: `/pages/order_package/order_submit/order_submit?ids=${resp.data}&ji=${this.ji}`,
|
url: `/pages/order_package/order_submit/order_submit?ids=${resp.data}`,
|
||||||
// })
|
})
|
||||||
// } else {
|
} else {
|
||||||
uni.showToast({
|
uni.showToast({
|
||||||
title: '成功加入购物车',
|
title: '成功加入购物车',
|
||||||
icon: 'success', // 可选 success/loading/none
|
icon: 'success', // 可选 success/loading/none
|
||||||
duration: 2000 // 持续时长,单位ms
|
duration: 2000 // 持续时长,单位ms
|
||||||
});
|
});
|
||||||
// }
|
}
|
||||||
// setTimeout(() => {
|
// setTimeout(() => {
|
||||||
// this.checkSpecification(false, null);
|
// this.checkSpecification(false, null);
|
||||||
// }, 2000)
|
// }, 2000)
|
||||||
|
|||||||
Reference in New Issue
Block a user