From 8bad7b5f27f8289c0d1b37f2574e8286ff637797 Mon Sep 17 00:00:00 2001 From: Minamiyama Date: Sat, 4 Oct 2025 15:35:22 +0800 Subject: [PATCH] =?UTF-8?q?refactor(visualization):=20=E5=B0=86ShorthandMo?= =?UTF-8?q?de=E5=AF=BC=E5=85=A5=E4=BB=8ETypes=E6=A8=A1=E5=9D=97=E7=A7=BB?= =?UTF-8?q?=E8=87=B3=E5=8D=95=E7=8B=AC=E5=AF=BC=E5=85=A5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 优化导入结构,将ShorthandMode从组件类型文件中分离出来,提高代码可维护性 --- .../component-background/BackgroundOverallCommon.vue | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/core/core-frontend/src/components/visualization/component-background/BackgroundOverallCommon.vue b/core/core-frontend/src/components/visualization/component-background/BackgroundOverallCommon.vue index 1b8ae9ae1d..df5cd53f6d 100644 --- a/core/core-frontend/src/components/visualization/component-background/BackgroundOverallCommon.vue +++ b/core/core-frontend/src/components/visualization/component-background/BackgroundOverallCommon.vue @@ -357,7 +357,8 @@ const props = withDefaults( } ) -import { State, ShorthandMode } from '@/components/visualization/component-background/Types' +import { State } from '@/components/visualization/component-background/Types' +import { ShorthandMode } from '@/Types' const state = reactive({ commonBackground: {