mirror of
https://gitee.com/beijing_hongye_huicheng/lilishop-uniapp.git
synced 2025-12-17 16:05:53 +08:00
优化下单后退显示
This commit is contained in:
@@ -510,6 +510,11 @@ export default {
|
|||||||
this.notSupportFreight = []
|
this.notSupportFreight = []
|
||||||
// 获取结算参数
|
// 获取结算参数
|
||||||
API_Trade.getCheckoutParams(this.routerVal.way).then((res) => {
|
API_Trade.getCheckoutParams(this.routerVal.way).then((res) => {
|
||||||
|
if (res.data.result.skuList.length <= 0) {
|
||||||
|
uni.redirectTo({
|
||||||
|
url: "/pages/order/myOrder?status=0",
|
||||||
|
});
|
||||||
|
}
|
||||||
res.data.result.cartList.forEach((item, index) => {
|
res.data.result.cartList.forEach((item, index) => {
|
||||||
this.remarkVal[index] = {
|
this.remarkVal[index] = {
|
||||||
remark: item.remark,
|
remark: item.remark,
|
||||||
|
|||||||
Reference in New Issue
Block a user