Browse Source

修改赋值错误

xiaohaizhao 7 months ago
parent
commit
bb45f4cee8
1 changed files with 1 additions and 1 deletions
  1. 1 1
      pages/login/modules/login.js

+ 1 - 1
pages/login/modules/login.js

@@ -84,7 +84,7 @@ function init() {
     }).then(res => {
         if (res.code != '1') return;
         res.data.forEach(v => {
-            _Http.sColors[v.value] = v.remarks
+            getApp().globalData.sColors[v.value] = v.remarks
         })
     });
 }