张田田 1 miesiąc temu
rodzic
commit
bd05dcf210

+ 2 - 2
miniprogram/module/order/pages/other-detail/other-detail.ts

@@ -177,7 +177,7 @@ Page({
               evaluateTime: item?.evaluateTime, //有评价时间就是已评价,是空就是未评价
               evaluateTime: item?.evaluateTime, //有评价时间就是已评价,是空就是未评价
               // [测试数据] 为了演示“申请售后”和“退款申请中”的不同状态
               // [测试数据] 为了演示“申请售后”和“退款申请中”的不同状态
               // 如果是第一个商品或者偶数商品,模拟状态为1(退款申请中),否则为0(可申请售后)
               // 如果是第一个商品或者偶数商品,模拟状态为1(退款申请中),否则为0(可申请售后)
-              afterSaleStatus: index === 0 ? 1 : 0, 
+              afterSaleStatus: index === 0 ? 1 : 0,
             }
             }
           });
           });
         };
         };
@@ -243,7 +243,7 @@ Page({
         }, (error: any) => {
         }, (error: any) => {
           this.setData({ isPaymentLoading: false });
           this.setData({ isPaymentLoading: false });
           if (error?.errMsg === 'requestPayment:fail cancel') {
           if (error?.errMsg === 'requestPayment:fail cancel') {
-           // 支付取消跳到支付订单页面
+            // 支付取消跳到支付订单页面
             wx.navigateBack({ delta: 1 });
             wx.navigateBack({ delta: 1 });
           }
           }
           // wx.showToast({
           // wx.showToast({