From 14d676faa070289928e60189775502dd312dcca5 Mon Sep 17 00:00:00 2001 From: dataeaseShu <106045316+dataeaseShu@users.noreply.github.com> Date: Thu, 13 Oct 2022 17:06:36 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20antv=E5=9B=BE=E5=BA=93=20=E6=A0=87?= =?UTF-8?q?=E9=A2=98=E6=94=AF=E6=8C=81=E4=BF=AE=E6=94=B9=20=E6=95=B0?= =?UTF-8?q?=E6=8D=AE=E6=BA=90=E5=9B=BE=E6=A0=87=E6=9B=B4=E6=8D=A2=20?= =?UTF-8?q?=E6=95=B0=E6=8D=AE=E9=9B=86=E9=83=A8=E5=88=86bug=E4=BF=AE?= =?UTF-8?q?=E5=A4=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- frontend/src/icons/svg/de-ds-error.svg | 12 +- frontend/src/utils/StringUtils.js | 4 +- .../chart/components/ChartComponentG2.vue | 279 ++++++++++++++++- .../chart/components/ChartComponentS2.vue | 281 +++++++++++++++++- .../component-style/TitleSelectorAntV.vue | 8 +- .../shape-attr/SizeSelectorAntV.vue | 56 +++- frontend/src/views/chart/view/ChartEdit.vue | 16 +- .../src/views/dataset/data/CalcFieldEdit.vue | 2 +- frontend/src/views/dataset/data/FieldEdit.vue | 1 + frontend/src/views/panel/edit/index.vue | 7 + .../src/views/system/datasource/DsTree.vue | 26 ++ 11 files changed, 662 insertions(+), 30 deletions(-) diff --git a/frontend/src/icons/svg/de-ds-error.svg b/frontend/src/icons/svg/de-ds-error.svg index 0626c19679..581a013ce4 100644 --- a/frontend/src/icons/svg/de-ds-error.svg +++ b/frontend/src/icons/svg/de-ds-error.svg @@ -1,13 +1,13 @@ diff --git a/frontend/src/utils/StringUtils.js b/frontend/src/utils/StringUtils.js index 36d1011eeb..923daf195a 100644 --- a/frontend/src/utils/StringUtils.js +++ b/frontend/src/utils/StringUtils.js @@ -17,9 +17,9 @@ export function randomRange(min, max) { return returnStr } -export function equalsAny(target,...sources) { +export function equalsAny(target, ...sources) { for (let i = 0; i < sources.length; i++) { - if (target === sources[i]){ + if (target === sources[i]) { return true } } diff --git a/frontend/src/views/chart/components/ChartComponentG2.vue b/frontend/src/views/chart/components/ChartComponentG2.vue index d6f43b9a2f..30b6eb13f8 100644 --- a/frontend/src/views/chart/components/ChartComponentG2.vue +++ b/frontend/src/views/chart/components/ChartComponentG2.vue @@ -19,7 +19,20 @@ style="cursor: default;display: block;" >