From 3417462710b1596800a7a2a48ae2b523ae016f00 Mon Sep 17 00:00:00 2001 From: sladro Date: Fri, 27 Feb 2026 15:20:59 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E6=B7=BB=E5=8A=A0=20`cad.js`=20?= =?UTF-8?q?=E6=96=87=E4=BB=B6=EF=BC=8C=E7=94=A8=E4=BA=8E=E9=9B=86=E4=B8=AD?= =?UTF-8?q?=E7=AE=A1=E7=90=86CAD=E8=BD=AF=E4=BB=B6=E5=92=8CAPI=E9=85=8D?= =?UTF-8?q?=E7=BD=AE=E3=80=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/config/cad.js | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/src/config/cad.js b/src/config/cad.js index 8b15bd1..d689e9b 100644 --- a/src/config/cad.js +++ b/src/config/cad.js @@ -147,7 +147,8 @@ const CAD_SOFTWARE_DEFINITIONS = { priority: 4, description: '连接和模型管理', features: [], - endpoints: {} + endpoints: {}, + hidden: true }, SOLIDWORKS: { id: 'solidworks', @@ -161,7 +162,8 @@ const CAD_SOFTWARE_DEFINITIONS = { priority: 5, description: '装配体管理', features: [], - endpoints: {} + endpoints: {}, + hidden: true }, CATIA: { id: 'catia', @@ -175,7 +177,8 @@ const CAD_SOFTWARE_DEFINITIONS = { priority: 6, description: '连接和模型管理', features: [], - endpoints: {} + endpoints: {}, + hidden: true } } @@ -183,6 +186,7 @@ const CAD_SOFTWARE_DEFINITIONS = { // 获取所有CAD软件定义 export const getAllCADDefinitions = () => { return Object.values(CAD_SOFTWARE_DEFINITIONS) + .filter(cad => !cad.hidden) .sort((a, b) => a.priority - b.priority) }