update store/modules/app.js.

state从缓存获取openid的部分,漏传了key==>OPENID,导致Cache.get(undefined)报错

Signed-off-by: 青椒麻不过花椒 <2662334834@qq.com>
pull/11/head
青椒麻不过花椒 2023-11-03 09:20:51 +00:00 committed by Gitee
parent b5fc0068b1
commit 73de49527d
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F
1 changed files with 1 additions and 1 deletions

View File

@ -15,7 +15,7 @@ const state = {
backgroundColor: "#fff",
userInfo: Cache.get(USER_INFO)?JSON.parse(Cache.get(USER_INFO)):null,
uid: Cache.get(UID) || null,
openid: Cache.get() || null,
openid: Cache.get(OPENID) || null,
homeActive: false,
chatUrl: Cache.get('chatUrl') || '',
systemPlatform: Cache.get(PLATFORM)?Cache.get(PLATFORM):'',