|
|
@@ -314,7 +314,8 @@ export function getModelComponent(is2DModel: boolean = false, type: string = '')
|
|
|
// 为了支持SVG组件切换时不闪烁,先行下载并缓存
|
|
|
if (!componentsCaches.has('windowSVG')) componentsCaches.set('windowSVG', import('./components/windowSVG.vue'));
|
|
|
if (!componentsCaches.has('windowDualSVG')) componentsCaches.set('windowDualSVG', import('./components/windowDualSVG.vue'));
|
|
|
-
|
|
|
+ if (!componentsCaches.has('windowDoorSVG')) componentsCaches.set('windowDoorSVG', import('./components/windowDoorSVG.vue')); //带小门风窗
|
|
|
+ if (!componentsCaches.has('SmallWindowSVG')) componentsCaches.set('SmallWindowSVG', import('./components/SmallWindowSVG.vue')); //小窗风窗
|
|
|
switch (type) {
|
|
|
case 'sdFc1':
|
|
|
return componentsCaches.get('windowDualSVG');
|