瀏覽代碼

退款调整

kk.shi 3 年之前
父節點
當前提交
bddc550113
共有 1 個文件被更改,包括 10 次插入1 次删除
  1. 10 1
      pages/welfareMall/order/orderCompletion.js

+ 10 - 1
pages/welfareMall/order/orderCompletion.js

@@ -210,7 +210,16 @@ Page({
     });
     await that.cancel();
     // await that.onLoad(that.options);
-    await that.selectOrder(that.data.orderSn);
+    wx.showToast({
+      title: '申请退款已提交',
+      icon: 'none',
+      duration: 2000,
+      success: function(){
+        setTimeout(() => {
+          that.selectOrder(that.data.orderSn);
+        }, 2000);
+      }
+    });
     // await wx.navigateTo({
     //   url:  "../refund/refund?orderSn=" + that.data.orderSn
     // })