update store/modules/app.js.
state从缓存获取openid的部分,漏传了key==>OPENID,导致Cache.get(undefined)报错 Signed-off-by: 青椒麻不过花椒 <2662334834@qq.com>pull/11/head
parent
b5fc0068b1
commit
73de49527d
|
@ -15,7 +15,7 @@ const state = {
|
||||||
backgroundColor: "#fff",
|
backgroundColor: "#fff",
|
||||||
userInfo: Cache.get(USER_INFO)?JSON.parse(Cache.get(USER_INFO)):null,
|
userInfo: Cache.get(USER_INFO)?JSON.parse(Cache.get(USER_INFO)):null,
|
||||||
uid: Cache.get(UID) || null,
|
uid: Cache.get(UID) || null,
|
||||||
openid: Cache.get() || null,
|
openid: Cache.get(OPENID) || null,
|
||||||
homeActive: false,
|
homeActive: false,
|
||||||
chatUrl: Cache.get('chatUrl') || '',
|
chatUrl: Cache.get('chatUrl') || '',
|
||||||
systemPlatform: Cache.get(PLATFORM)?Cache.get(PLATFORM):'',
|
systemPlatform: Cache.get(PLATFORM)?Cache.get(PLATFORM):'',
|
||||||
|
|
Loading…
Reference in New Issue