fix: 公共静态变量阻塞获取不到问题修复
Signed-off-by: fit2-zhao <yong.zhao@fit2cloud.com>
This commit is contained in:
parent
3e5ec51e5e
commit
b9df006022
|
@ -34,7 +34,7 @@ export const getLanguage = async () => {
|
||||||
};
|
};
|
||||||
|
|
||||||
const i18n = new VueI18n({
|
const i18n = new VueI18n({
|
||||||
locale: await getLanguage(),
|
locale: getLanguage(),
|
||||||
messages,
|
messages,
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue