修复了刷新报错

This commit is contained in:
2020-11-20 16:29:35 +08:00
parent b5edb78131
commit cf87e7e9f7
2 changed files with 17 additions and 8 deletions

View File

@@ -52,7 +52,7 @@ export default createStore({
zoneStr: "中途岛GMT-11:00",
zoneid: 1,
symbol: "$",
zoneValue:"",
zoneValue: "Atlantic/South_Georgia",
currencytag: 0
},
islogin: false,
@@ -123,7 +123,7 @@ export default createStore({
const user = await userinfo();
if(user != '未登录'){
saveValue("Lanvuage", user.languageValue);
commit('setUserInfo', user);
// commit('setUserInfo', user);
} else {
const info = await getaddr();
commit("setLanguage", info)