查询默认的语言配置的时候保存cookie
This commit is contained in:
parent
c066d99492
commit
c474ae5656
|
@ -113,9 +113,11 @@
|
|||
this.$get("language", response => {
|
||||
language = response.data;
|
||||
localStorage.setItem(DEFAULT_LANGUAGE, language)
|
||||
window.location.href = "/"
|
||||
})
|
||||
} else {
|
||||
window.location.href = "/"
|
||||
}
|
||||
window.location.href = "/"
|
||||
});
|
||||
} else {
|
||||
return false;
|
||||
|
|
Loading…
Reference in New Issue