根据默认获取区号

This commit is contained in:
2020-11-18 09:55:25 +08:00
parent c73f45d27e
commit 97a5090e0f
3 changed files with 5 additions and 4 deletions

View File

@@ -21,7 +21,7 @@ export default defineComponent({
setup(){
console.log(i18ninit)
const len = provideI18n(i18ninit);
len.locale.value = !getValue("Lanvuage") ? 'zh' : getValue("Lanvuage");
// len.locale.value = !getValue("Lanvuage") ? 'zh' : getValue("Lanvuage");
if(getValue('token')){
store.commit("login", true)
store.dispatch("setUserInfo");