Sfoglia il codice sorgente

退款测试延迟

kk.shi 3 anni fa
parent
commit
79f5de7b65
1 ha cambiato i file con 2 aggiunte e 4 eliminazioni
  1. 2 4
      pages/welfareMall/order/orderCompletion.js

+ 2 - 4
pages/welfareMall/order/orderCompletion.js

@@ -188,11 +188,9 @@ Page({
         wx.showToast({
           title: '申请退款已提交',
           icon: 'none',
-          duration: 1500,
+          duration: 2000,
           success: function(){
-            setTimeout(() => {
-              that.goRefund(res);
-            }, 1500);
+            that.goRefund(res);
           }
         });
       }