From cd4d6cd99da87298142573ac4b547f3e049c8fc7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=92=AC=E8=BD=AE=E7=8C=AB?= <10928033@qq.com> Date: Sun, 15 Jan 2023 18:02:22 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E6=9C=89=E7=8A=B6=E6=80=81=E7=BB=84?= =?UTF-8?q?=E4=BB=B6demo?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/assets/svgs/alternator.svg | 10 +++---- src/assets/svgs/circuit-breaker.svg | 14 +++++++--- src/assets/svgs/custom-svg-text.svg | 2 +- src/assets/svgs/reservoir.svg | 2 +- src/assets/svgs/traction-transformer.svg | 20 ++++++-------- .../components/center-panel/index.vue | 4 +-- .../components/left-panel/index.vue | 26 +++++-------------- .../components/right-panel/index.vue | 10 ++++++- .../stateful/circuit-breaker/index.ts | 26 +++++++++---------- src/config-center/types.ts | 8 ++++++ src/utils/index.ts | 25 +++++++++++++++--- 11 files changed, 85 insertions(+), 62 deletions(-) diff --git a/src/assets/svgs/alternator.svg b/src/assets/svgs/alternator.svg index c18b07c..c6d97e4 100644 --- a/src/assets/svgs/alternator.svg +++ b/src/assets/svgs/alternator.svg @@ -1,8 +1,8 @@ - - - - + + + \ No newline at end of file diff --git a/src/assets/svgs/circuit-breaker.svg b/src/assets/svgs/circuit-breaker.svg index 1292c37..7801bc7 100644 --- a/src/assets/svgs/circuit-breaker.svg +++ b/src/assets/svgs/circuit-breaker.svg @@ -1,5 +1,11 @@ - - + + + \ No newline at end of file diff --git a/src/assets/svgs/custom-svg-text.svg b/src/assets/svgs/custom-svg-text.svg index ccc7b57..d9ecb6f 100644 --- a/src/assets/svgs/custom-svg-text.svg +++ b/src/assets/svgs/custom-svg-text.svg @@ -1,4 +1,4 @@ - diff --git a/src/assets/svgs/reservoir.svg b/src/assets/svgs/reservoir.svg index b45af15..a571ae6 100644 --- a/src/assets/svgs/reservoir.svg +++ b/src/assets/svgs/reservoir.svg @@ -1,4 +1,4 @@ - + diff --git a/src/assets/svgs/traction-transformer.svg b/src/assets/svgs/traction-transformer.svg index 10ae543..f2c7100 100644 --- a/src/assets/svgs/traction-transformer.svg +++ b/src/assets/svgs/traction-transformer.svg @@ -1,15 +1,11 @@ - - - - - - - - - - + + + + + + \ No newline at end of file diff --git a/src/components/webtopo-svgedit/components/center-panel/index.vue b/src/components/webtopo-svgedit/components/center-panel/index.vue index cf4f24a..a51a409 100644 --- a/src/components/webtopo-svgedit/components/center-panel/index.vue +++ b/src/components/webtopo-svgedit/components/center-panel/index.vue @@ -49,7 +49,7 @@
- +
{{ svg_item.title }}
@@ -46,14 +43,11 @@