feat: 3d模型

This commit is contained in:
2025-12-09 17:13:20 +08:00
parent 5f603bc69d
commit 358639a8ac
492 changed files with 74670 additions and 190 deletions
+11
View File
@@ -51,4 +51,15 @@ export default {
nodeModulesTransform: { type: 'none' },
mfsu: false,
fastRefresh: {},
// Cesium 静态资源配置
chainWebpack: (config: any) => {
// 配置 Cesium 资源路径
config.plugin('define').tap((definitions: any) => {
Object.assign(definitions[0], {
'process.env.CESIUM_BASE_URL': JSON.stringify(isDev ? '/' : (APP_BASE.endsWith('/') ? APP_BASE : APP_BASE + '/')),
});
return definitions;
});
return config;
},
} as any;