优化下单后退显示

master
paulGao 2022-01-04 19:58:01 +08:00
parent 4d033e59f1
commit 68e25cb0b3
1 changed files with 5 additions and 0 deletions

View File

@ -510,6 +510,11 @@ export default {
this.notSupportFreight = []
//
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) => {
this.remarkVal[index] = {
remark: item.remark,