Browse Source

修复微信 绑定

shenjj 7 years ago
parent
commit
7eed219b84
1 changed files with 1 additions and 1 deletions
  1. 1 1
      store/index.js

+ 1 - 1
store/index.js

@@ -542,7 +542,7 @@ export const actions = {
           }
           Userinfo.status = response.data.status
           Userinfo.enterprises = response.data.enterprises
-          localStorage.setItem('USOFTMALLWECHATINFO', Userinfo)
+          localStorage.setItem('USOFTMALLWECHATINFO', JSON.stringify(Userinfo))
         } else {
           // localStorage.removeItem('USOFTMALLWECHATINFO')
         }