perf: 框架核心代码国际化全量覆盖(仅需处理业务代码国际化即可) (#1082)

This commit is contained in:
xiaoming
2024-04-17 15:41:37 +08:00
committed by GitHub
parent d1d2bcaa11
commit a402d33b89
28 changed files with 254 additions and 99 deletions

View File

@@ -35,7 +35,7 @@ export const getPlatformConfig = async (app: App): Promise<undefined> => {
})
.then(({ data: config }) => {
let $config = app.config.globalProperties.$config;
// 自动注入项目配置
// 自动注入系统配置
if (app && $config && typeof config === "object") {
$config = Object.assign($config, config);
app.config.globalProperties.$config = $config;