From 01eb203a67e4863417f6fd8803c4a9197f9e9fb8 Mon Sep 17 00:00:00 2001 From: Minamiyama Date: Sat, 4 Oct 2025 15:30:52 +0800 Subject: [PATCH] =?UTF-8?q?refactor(component-list):=20=E4=BC=98=E5=8C=96?= =?UTF-8?q?=E5=AF=BC=E5=85=A5=E8=AF=AD=E5=8F=A5=E7=BB=93=E6=9E=84=E5=B9=B6?= =?UTF-8?q?=E7=A7=BB=E5=8A=A8=E7=B1=BB=E5=9E=8B=E5=AE=9A=E4=B9=89?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 将 ShorthandMode 类型从 component-background/Types 移动到根 Types 文件,同时简化导入语句结构以提高可读性 --- core/core-frontend/src/custom-component/component-list.ts | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/core/core-frontend/src/custom-component/component-list.ts b/core/core-frontend/src/custom-component/component-list.ts index 4c77729b4f..5186462952 100644 --- a/core/core-frontend/src/custom-component/component-list.ts +++ b/core/core-frontend/src/custom-component/component-list.ts @@ -3,10 +3,8 @@ import { deepCopy } from '@/utils/utils' import { guid } from '@/views/visualized/data/dataset/form/util' import { getViewConfig } from '@/views/chart/components/editor/util/chart' import { useI18n } from '@/hooks/web/useI18n' -import { - CommonBackground, - ShorthandMode -} from '@/components/visualization/component-background/Types' +import { CommonBackground } from '@/components/visualization/component-background/Types' +import { ShorthandMode } from '@/Types' const { t } = useI18n() export const commonStyle = {