修复了无限刷新和未登录设置语言

This commit is contained in:
2020-11-09 16:59:29 +08:00
parent 3ece8985ca
commit 9c24b82cf2
6 changed files with 20 additions and 9 deletions

View File

@@ -25,8 +25,10 @@ export default defineComponent({
store.commit("login", true)
store.dispatch("setUserInfo");
}else{
console.log('ip')
store.dispatch("getip");
store.commit('setWlan')
router.push("/")
}
const zh = zhCN