From cbb3543c4ae6e3340ce0bb52456a0d45971f24b8 Mon Sep 17 00:00:00 2001 From: SikongJueluo Date: Wed, 9 Jul 2025 19:06:41 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E6=B7=BB=E5=8A=A0=E5=85=A8=E5=B1=80ale?= =?UTF-8?q?rt=EF=BC=8C=E5=B9=B6=E6=9B=BF=E6=8D=A2=E5=8E=9F=E5=85=88?= =?UTF-8?q?=E6=98=AFtoast?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- components.d.ts | 1 + src/App.vue | 14 +- src/components/Alert/Alert.vue | 102 +++++++ src/components/Alert/index.ts | 61 ++++ src/components/LabCanvas/DiagramCanvas.vue | 313 +++++++++++++-------- 5 files changed, 363 insertions(+), 128 deletions(-) diff --git a/components.d.ts b/components.d.ts index cd90392..37d0b42 100644 --- a/components.d.ts +++ b/components.d.ts @@ -9,6 +9,7 @@ export {} declare module 'vue' { export interface GlobalComponents { Alert: typeof import('./src/components/Alert/Alert.vue')['default'] + AlertDemo: typeof import('./src/components/AlertDemo.vue')['default'] BaseBoard: typeof import('./src/components/equipments/BaseBoard.vue')['default'] BaseInputField: typeof import('./src/components/InputField/BaseInputField.vue')['default'] Canvas: typeof import('./src/components/Canvas.vue')['default'] diff --git a/src/App.vue b/src/App.vue index a887650..9eacb1a 100644 --- a/src/App.vue +++ b/src/App.vue @@ -1,6 +1,7 @@