chengjie 5 years ago
parent
commit
ba56a59589
2 changed files with 6 additions and 3 deletions
  1. 2 2
      app.js
  2. 4 1
      pages/main/default.js

+ 2 - 2
app.js

@@ -1,7 +1,7 @@
1 1
 App({
2 2
   globalData: {
3
-    Version: "1.6.2",
4
-    IsProduction: false,
3
+    Version: "1.6.3",
4
+    IsProduction: true,
5 5
     ShareTitle: "高效学习从秒过开始",
6 6
     SharePath: "pages/index/index",
7 7
     ShareImage: '../images/program_screenshot_main.png',

+ 4 - 1
pages/main/default.js

@@ -279,7 +279,10 @@ Page({
279 279
   },
280 280
   showUserID:function(){
281 281
     var that = this;
282
-    if (app.globalData.userInfo.UserID == 1) {
282
+    if (app.globalData.userInfo.UserID == 1
283
+      || app.globalData.userInfo.UserID == 2 
284
+      || app.globalData.userInfo.UserID == 3 
285
+      || app.globalData.userInfo.UserID == 4) {
283 286
       that.setData({
284 287
         IsShowUserID: true,
285 288
         ChangeuUserID:2,