换成了系统定位

This commit is contained in:
2020-11-23 16:32:54 +08:00
parent 22e93bcdaa
commit 9cefed9bfe
3 changed files with 59 additions and 21 deletions

View File

@@ -126,11 +126,13 @@ export default createStore({
commit('setUserInfo', user);
} else {
const info = await getaddr();
console.log(info,11256445)
commit("setLanguage", info)
}
},
async getip({ commit }){
const info = await getaddr();
console.log(info,11256445);
commit("setLanguage", info)
}
},