程杰 1 年之前
父節點
當前提交
ce619c233e
共有 4 個文件被更改,包括 3 次插入16 次删除
  1. 1 1
      app.js
  2. 0 13
      pages/index/index.js
  3. 0 1
      pages/main/userinfo.js
  4. 2 1
      project.config.json

+ 1 - 1
app.js

@@ -2,7 +2,7 @@
2
 App({
2
 App({
3
 
3
 
4
   globalData: {
4
   globalData: {
5
-    Version: "1.2.20",
5
+    Version: "1.2.21",
6
     IsProduction: true,
6
     IsProduction: true,
7
     //IsProduction: false,
7
     //IsProduction: false,
8
     ProgramID: 106,
8
     ProgramID: 106,

+ 0 - 13
pages/index/index.js

@@ -127,19 +127,6 @@ Page({
127
         else {
127
         else {
128
           app.globalData.userInfo = data;
128
           app.globalData.userInfo = data;
129
 
129
 
130
-          //app.globalData.userInfo.AvatarUrl = param.avatarUrl;
131
-
132
-          // var isShow = data.IsShow;
133
-          // if (isShow == -1) {
134
-          //   isShow = 0;
135
-          // }
136
-          // else {
137
-          //   var systemInfo = wx.getSystemInfoSync();
138
-          //   if (isShow == 0 && systemInfo.system && systemInfo.system.indexOf("Android") >= 0) {
139
-          //     isShow = 1;
140
-          //   }
141
-          // }
142
-          // app.globalData.userInfo.IsShow = isShow;
143
           app.globalData.userInfo.IsShow = data.IsShow;
130
           app.globalData.userInfo.IsShow = data.IsShow;
144
 
131
 
145
           app.globalData.IsLocked = data.IsLocked;
132
           app.globalData.IsLocked = data.IsLocked;

+ 0 - 1
pages/main/userinfo.js

@@ -32,7 +32,6 @@ Page({
32
       extraData: {
32
       extraData: {
33
       },
33
       },
34
       success(res) {
34
       success(res) {
35
-        // 打开成功
36
       }
35
       }
37
     });
36
     });
38
   },
37
   },

+ 2 - 1
project.config.json

@@ -28,7 +28,8 @@
28
     "showES6CompileOption": false,
28
     "showES6CompileOption": false,
29
     "useCompilerPlugins": false,
29
     "useCompilerPlugins": false,
30
     "ignoreUploadUnusedFiles": true,
30
     "ignoreUploadUnusedFiles": true,
31
-    "useStaticServer": true
31
+    "useStaticServer": true,
32
+    "condition": false
32
   },
33
   },
33
   "compileType": "miniprogram",
34
   "compileType": "miniprogram",
34
   "libVersion": "2.3.0",
35
   "libVersion": "2.3.0",