mirror of
https://github.com/Buriburizaem0n/admin-frontend-domain.git
synced 2026-11-04 08:50:20 +00:00
feat: 后台自定义代码 & 后端语言优先
This commit is contained in:
1 parent
830992a74d
commit
8e45f8ca6f
6 files changed
+92
-65
No files matched your search
+1
-1
@@ -22,7 +22,7 @@ const resources = {
|
||||
}
|
||||
|
||||
const getStoredLanguage = () => {
|
||||
return localStorage.getItem("language") || "zh-CN"
|
||||
return localStorage.getItem("language") || "en-US"
|
||||
}
|
||||
|
||||
i18n.use(initReactI18next).init({
|
||||
|
||||
Reference in new issue
Block a user