chengjie vor 6 Jahren
Ursprung
Commit
99c98a7adb
2 geänderte Dateien mit 7 neuen und 16 gelöschten Zeilen
  1. 2 2
      app.js
  2. 5 14
      utils/main.js

+ 2 - 2
app.js

@@ -32,8 +32,8 @@ App({
32 32
     }
33 33
   },
34 34
   globalData: {
35
-    Version: "1.4.13",
36
-    IsProduction: false,
35
+    Version: "1.4.14",
36
+    IsProduction: true,
37 37
     ShareTitle: "高效学习从秒过开始",
38 38
     SharePath: "pages/index/index",
39 39
     ShareImage: '../images/program_screenshot_main.png',

+ 5 - 14
utils/main.js

@@ -656,22 +656,13 @@ function UpdateMiaoguoCardTodayAll(isShowLoading, callback) {
656 656
       title: '请稍候',
657 657
       mask: true,
658 658
     });
659
+    clearTimeout(dataSendTimeout);
659 660
     dataSendTimeout=setTimeout(function () {
660 661
       wx.hideLoading();
661
-      wx.showModal({
662
-        title: '提醒',
663
-        showCancel: false,
664
-        content: "服务器有点繁忙,数据获取可能不及时,请关闭小程序稍候再试!",
665
-        confirmText: "知道了",
666
-        success(res) {
667
-          if (res.confirm) {
668
-            wx.reLaunch({
669
-              url: '../index/index',
670
-            })
671
-          }
672
-        },
673
-      });
674
-    }, 30000);
662
+      wx.reLaunch({
663
+        url: '../index/index',
664
+      })
665
+    }, 60000);
675 666
   }
676 667
   var list = wx.getStorageSync("ListTaskFinished");
677 668
   if (list && list.length > 0) {