lex-xin 3 miesięcy temu
rodzic
commit
3c52e2fc91
2 zmienionych plików z 6 dodań i 4 usunięć
  1. 1 1
      miniprogram/config.ts
  2. 5 3
      miniprogram/pages/index/index.ts

+ 1 - 1
miniprogram/config.ts

@@ -1,4 +1,4 @@
-const environmentVariable = "test";
+const environmentVariable = "online";
 const apiUrlInfo = {
   dev: "https://dev.kt.colexiu.com",
   test: "https://test.kt.colexiu.com",

+ 5 - 3
miniprogram/pages/index/index.ts

@@ -172,9 +172,11 @@ Page({
       info = encodeURIComponent(info);
       wx.navigateTo({
         url: `../orders/order-detail?orderInfo=${info}`,
-      })
-      that.setData({
-        popupShow: false
+        success: () => {
+          that.setData({
+            popupShow: false
+          })
+        }
       })
     }, 300)()
   },