Browse Source

Merge branch 'master' of http://39.106.8.246:3003/sagacloud/sagacloud-sagacare-miniprogram

anxiaoxia 2 năm trước cách đây
mục cha
commit
c0b7f82452
2 tập tin đã thay đổi với 2 bổ sung2 xóa
  1. 1 1
      pages/index/index.js
  2. 1 1
      pages/spacelist/index.js

+ 1 - 1
pages/index/index.js

@@ -289,7 +289,7 @@ Page({
             this.setData({ logined: true });
             !$.storage.get("openId") &&
                 $.storage.set("openId", res.content.openId);
-            !$.storage.get("openId") && $.storage.set("userId", res.content.id);
+            !$.storage.get("userId") && $.storage.set("userId", res.content.id);
             $.storage.set("projectId", currentTenant.projectId);
             $.storage.set("tenantId", currentTenant.tenantId);
             $.storage.set("tenantName", currentTenant.tenantName);

+ 1 - 1
pages/spacelist/index.js

@@ -10,7 +10,7 @@ Page({
         alllistContent: [],
         projectId: "",
         tenantId: "",
-        userId: "",
+        userId: null,
         currtPage: 0,
         allListnum: 0,
         seachValue: "",