From 11781f72f275d8f11a56a70cac8814e030c356ba Mon Sep 17 00:00:00 2001 From: wangjiahao <1522128093@qq.com> Date: Wed, 6 Jul 2022 13:45:57 +0800 Subject: [PATCH] =?UTF-8?q?fix(=E8=A7=86=E5=9B=BE):=20=E6=89=B9=E9=87=8F?= =?UTF-8?q?=E6=93=8D=E4=BD=9C=E4=B8=AD=E9=A5=BC=E5=9B=BE=E6=A0=87=E7=AD=BE?= =?UTF-8?q?=E4=BD=8D=E7=BD=AE=E6=9C=AA=E7=BF=BB=E8=AF=91=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/views/chart/components/shape-attr/LabelSelector.vue | 3 +++ .../views/chart/components/shape-attr/LabelSelectorAntV.vue | 3 +++ 2 files changed, 6 insertions(+) diff --git a/frontend/src/views/chart/components/shape-attr/LabelSelector.vue b/frontend/src/views/chart/components/shape-attr/LabelSelector.vue index 21a95a608b..afb806a7c5 100644 --- a/frontend/src/views/chart/components/shape-attr/LabelSelector.vue +++ b/frontend/src/views/chart/components/shape-attr/LabelSelector.vue @@ -114,6 +114,9 @@ export default { } }, mounted() { + if (this.showProperty('position-pie')) { + this.labelForm.position = 'outside' + } this.init() this.initOptions() this.initData() diff --git a/frontend/src/views/chart/components/shape-attr/LabelSelectorAntV.vue b/frontend/src/views/chart/components/shape-attr/LabelSelectorAntV.vue index 0ad8802f01..c327a516a2 100644 --- a/frontend/src/views/chart/components/shape-attr/LabelSelectorAntV.vue +++ b/frontend/src/views/chart/components/shape-attr/LabelSelectorAntV.vue @@ -127,6 +127,9 @@ export default { } }, mounted() { + if (this.showProperty('position-pie')) { + this.labelForm.position = 'outer' + } this.init() this.initOptions() this.initData()