From 2491f7ff573609c57b6d16b39424b1a93f656377 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=A5=94=E8=B7=91=E7=9A=84=E9=9D=A2=E6=9D=A1?= <1262327911@qq.com> Date: Wed, 22 Jun 2022 18:50:15 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E6=96=B0=E5=A2=9E=E4=BF=9D=E5=AD=98?= =?UTF-8?q?=E6=8C=89=E9=92=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/plugins/icon.ts | 7 +++-- .../ContentHeader/headerLeftBtn/index.vue | 26 ++++++++++++++++--- src/views/chart/hooks/useSync.hook.ts | 5 ++-- 3 files changed, 30 insertions(+), 8 deletions(-) diff --git a/src/plugins/icon.ts b/src/plugins/icon.ts index 50b4fffb..a4a40646 100644 --- a/src/plugins/icon.ts +++ b/src/plugins/icon.ts @@ -81,7 +81,8 @@ import { Scale as ScaleIcon, FitToScreen as FitToScreenIcon, FitToHeight as FitToHeightIcon, - FitToWidth as FitToWidthIcon + FitToWidth as FitToWidthIcon, + Save as SaveIcon } from '@vicons/carbon' const ionicons5 = { @@ -237,7 +238,9 @@ const carbon = { ScaleIcon, FitToScreenIcon, FitToHeightIcon, - FitToWidthIcon + FitToWidthIcon, + // 保存 + SaveIcon } // https://www.xicons.org/#/ 还有很多 diff --git a/src/views/chart/ContentHeader/headerLeftBtn/index.vue b/src/views/chart/ContentHeader/headerLeftBtn/index.vue index aace7805..e29a59a0 100644 --- a/src/views/chart/ContentHeader/headerLeftBtn/index.vue +++ b/src/views/chart/ContentHeader/headerLeftBtn/index.vue @@ -29,26 +29,44 @@ {{ item.title }} + + + + + + + 保存 +