From 6930dda995f0a5928cbcb0b8df08a763ebe83ee9 Mon Sep 17 00:00:00 2001
From: wangjiahao <1522128093@qq.com>
Date: Mon, 23 May 2022 18:19:52 +0800
Subject: [PATCH] =?UTF-8?q?style:=20=E6=A0=B7=E5=BC=8F=E4=BF=AE=E6=94=B9?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.../canvas/components/Editor/Preview.vue | 2 +-
.../component-style/XAxisSelector.vue | 6 +++---
.../component-style/XAxisSelectorAntV.vue | 4 ++--
.../component-style/YAxisExtSelector.vue | 6 +++---
.../component-style/YAxisExtSelectorAntV.vue | 4 ++--
.../component-style/YAxisSelector.vue | 6 +++---
.../component-style/YAxisSelectorAntV.vue | 4 ++--
.../components/shape-attr/SizeSelector.vue | 20 +++++++++----------
.../chart/components/shape-attr/TotalCfg.vue | 4 ++--
9 files changed, 28 insertions(+), 28 deletions(-)
diff --git a/frontend/src/components/canvas/components/Editor/Preview.vue b/frontend/src/components/canvas/components/Editor/Preview.vue
index aa2fd06726..13ab4b9414 100644
--- a/frontend/src/components/canvas/components/Editor/Preview.vue
+++ b/frontend/src/components/canvas/components/Editor/Preview.vue
@@ -154,7 +154,7 @@ export default {
},
showUnpublishedArea() {
// return this.panelInfo.status === 'unpublished'
- if (this.mainActiveName === 'PanelMain' && this.activeTab==='') {
+ if (this.mainActiveName === 'PanelMain' && this.activeTab === 'PanelList') {
return this.panelInfo.status === 'unpublished' && this.panelInfo.privileges.indexOf('manage') === -1
} else {
return this.panelInfo.status === 'unpublished'
diff --git a/frontend/src/views/chart/components/component-style/XAxisSelector.vue b/frontend/src/views/chart/components/component-style/XAxisSelector.vue
index 07c4f5e6d7..8c634d4c5a 100644
--- a/frontend/src/views/chart/components/component-style/XAxisSelector.vue
+++ b/frontend/src/views/chart/components/component-style/XAxisSelector.vue
@@ -53,7 +53,7 @@
-
+
{{ $t('chart.axis_show') }}
@@ -72,7 +72,7 @@
-
+
{{ $t('chart.axis_label_show') }}
@@ -89,7 +89,7 @@
-
+
diff --git a/frontend/src/views/chart/components/component-style/XAxisSelectorAntV.vue b/frontend/src/views/chart/components/component-style/XAxisSelectorAntV.vue
index c8361fe754..fc352ee843 100644
--- a/frontend/src/views/chart/components/component-style/XAxisSelectorAntV.vue
+++ b/frontend/src/views/chart/components/component-style/XAxisSelectorAntV.vue
@@ -53,7 +53,7 @@
-
+
{{ $t('chart.axis_show') }}
@@ -65,7 +65,7 @@
-
+
{{ $t('chart.axis_label_show') }}
diff --git a/frontend/src/views/chart/components/component-style/YAxisExtSelector.vue b/frontend/src/views/chart/components/component-style/YAxisExtSelector.vue
index 07cf585398..7e36780222 100644
--- a/frontend/src/views/chart/components/component-style/YAxisExtSelector.vue
+++ b/frontend/src/views/chart/components/component-style/YAxisExtSelector.vue
@@ -53,7 +53,7 @@
-
+
{{ $t('chart.axis_show') }}
@@ -72,7 +72,7 @@
-
+
{{ $t('chart.axis_label_show') }}
@@ -89,7 +89,7 @@
-
+
diff --git a/frontend/src/views/chart/components/component-style/YAxisExtSelectorAntV.vue b/frontend/src/views/chart/components/component-style/YAxisExtSelectorAntV.vue
index dd7a67f486..c63422484a 100644
--- a/frontend/src/views/chart/components/component-style/YAxisExtSelectorAntV.vue
+++ b/frontend/src/views/chart/components/component-style/YAxisExtSelectorAntV.vue
@@ -53,7 +53,7 @@
-
+
{{ $t('chart.axis_show') }}
@@ -65,7 +65,7 @@
-
+
{{ $t('chart.axis_label_show') }}
diff --git a/frontend/src/views/chart/components/component-style/YAxisSelector.vue b/frontend/src/views/chart/components/component-style/YAxisSelector.vue
index 122643654f..a83824d06f 100644
--- a/frontend/src/views/chart/components/component-style/YAxisSelector.vue
+++ b/frontend/src/views/chart/components/component-style/YAxisSelector.vue
@@ -53,7 +53,7 @@
-
+
{{ $t('chart.axis_show') }}
@@ -72,7 +72,7 @@
-
+
{{ $t('chart.axis_label_show') }}
@@ -89,7 +89,7 @@
-
+
diff --git a/frontend/src/views/chart/components/component-style/YAxisSelectorAntV.vue b/frontend/src/views/chart/components/component-style/YAxisSelectorAntV.vue
index 0ea4ec660d..64493f0a15 100644
--- a/frontend/src/views/chart/components/component-style/YAxisSelectorAntV.vue
+++ b/frontend/src/views/chart/components/component-style/YAxisSelectorAntV.vue
@@ -64,7 +64,7 @@
-
+
{{ $t('chart.axis_show') }}
@@ -76,7 +76,7 @@
-
+
{{ $t('chart.axis_label_show') }}
diff --git a/frontend/src/views/chart/components/shape-attr/SizeSelector.vue b/frontend/src/views/chart/components/shape-attr/SizeSelector.vue
index ed7872ccfb..5b99b73eb9 100644
--- a/frontend/src/views/chart/components/shape-attr/SizeSelector.vue
+++ b/frontend/src/views/chart/components/shape-attr/SizeSelector.vue
@@ -79,13 +79,13 @@
-
+
-
+
-
+
-
+
-
+
-
+
-
+
@@ -173,7 +173,7 @@
- {{ $t('chart.chart_bar') }}
+ {{ $t('chart.chart_bar') }}
{{ $t('chart.adapt') }}
@@ -183,7 +183,7 @@
- {{ $t('chart.chart_line') }}
+ {{ $t('chart.chart_line') }}
@@ -206,7 +206,7 @@
{{ $t('chart.show') }}
- {{ $t('chart.chart_scatter') }}
+ {{ $t('chart.chart_scatter') }}
- {{ $t('chart.row_cfg') }}
+ {{ $t('chart.row_cfg') }}
{{ $t('chart.show') }}
@@ -33,7 +33,7 @@
- {{ $t('chart.col_cfg') }}
+ {{ $t('chart.col_cfg') }}
{{ $t('chart.show') }}