From 7eac3fa0a6a68a3ec578e03d7a59d0ce14704e88 Mon Sep 17 00:00:00 2001 From: fit2cloud-chenyw Date: Tue, 20 Sep 2022 16:24:50 +0800 Subject: [PATCH] =?UTF-8?q?style(=E8=A7=86=E5=9B=BE):=20=E4=B8=8B=E9=92=BB?= =?UTF-8?q?=E5=8C=BA=E5=9F=9F=E4=BB=A5=E5=8F=8A=E5=9C=B0=E5=9B=BE=E7=BC=A9?= =?UTF-8?q?=E6=94=BE=E6=96=87=E5=AD=97=E8=B7=9F=E9=9A=8F=E8=A7=86=E5=9B=BE?= =?UTF-8?q?=E8=83=8C=E6=99=AF=E6=94=B9=E5=8F=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../canvas/custom-component/UserView.vue | 8 ++-- frontend/src/views/background/index.vue | 4 +- .../views/chart/components/ChartComponent.vue | 18 +++++++ frontend/src/views/chart/view/DrillPath.vue | 48 ++++++++++++++++++- 4 files changed, 70 insertions(+), 8 deletions(-) diff --git a/frontend/src/components/canvas/custom-component/UserView.vue b/frontend/src/components/canvas/custom-component/UserView.vue index e658c49cd7..68a044312f 100644 --- a/frontend/src/components/canvas/custom-component/UserView.vue +++ b/frontend/src/components/canvas/custom-component/UserView.vue @@ -109,7 +109,7 @@ @onJumpClick="jumpClick" />
- +
@@ -582,14 +582,14 @@ export default { this.chart['position'] = this.inTab ? 'tab' : 'panel' // 记录当前数据 this.panelViewDetailsInfo[id] = JSON.stringify(this.chart) - if(this.element.needAdaptor){ + if (this.element.needAdaptor) { const customStyleObj = JSON.parse(this.chart.customStyle) const customAttrObj = JSON.parse(this.chart.customAttr) adaptCurTheme(customStyleObj, customAttrObj) this.chart.customStyle = JSON.stringify(customStyleObj) this.chart.customAttr = JSON.stringify(customAttrObj) - viewEditSave(this.panelInfo.id,{ id: this.chart.id, customStyle: this.chart.customStyle, customAttr: this.chart.customAttr }) - this.$store.commit('adaptorStatusDisable',this.element.id) + viewEditSave(this.panelInfo.id, { id: this.chart.id, customStyle: this.chart.customStyle, customAttr: this.chart.customAttr }) + this.$store.commit('adaptorStatusDisable', this.element.id) } this.sourceCustomAttrStr = this.chart.customAttr this.sourceCustomStyleStr = this.chart.customStyle diff --git a/frontend/src/views/background/index.vue b/frontend/src/views/background/index.vue index 5b1ff9de34..9474251b10 100644 --- a/frontend/src/views/background/index.vue +++ b/frontend/src/views/background/index.vue @@ -80,7 +80,7 @@ - +
- {{ $t('commons.all') }} - {{ filter.value[0] }} + + {{ $t('commons.all') }} + + + {{ filter.value[0] }} +