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