refactor: ♻️ (i18n)简化语言配置对象

- 移除 zh-cn 和 en 对象中的展开操作符
This commit is contained in:
zimo493
2025-09-05 08:18:03 +08:00
parent 39f9676288
commit 121d88a889

View File

@@ -8,12 +8,8 @@ import zhCnLocale from "./package/zh-cn.json";
const appStore = useAppStoreHook();
const messages = {
"zh-cn": {
...zhCnLocale,
},
en: {
...enLocale,
},
"zh-cn": zhCnLocale,
en: enLocale,
};
const i18n = createI18n({