根据默认获取区号
This commit is contained in:
@@ -99,8 +99,8 @@ export default createStore({
|
||||
state.userinfo.languageValue = data.yy // 'en' 'zh'
|
||||
state.userinfo.zoneStr = timeZoneFormatted;
|
||||
state.userinfo.currency = data.hb;
|
||||
saveValue("Lanvuage", data.yx);
|
||||
if( data.yx != geti18n().$s()){
|
||||
saveValue("Lanvuage", data.yy);
|
||||
if( data.yy != geti18n().$s()){
|
||||
location.reload()
|
||||
}
|
||||
// setLanvuage(data[0]);
|
||||
|
||||
Reference in New Issue
Block a user