From 1bf4cc1c74bae276d64a80d9afaa2c76d8f87357 Mon Sep 17 00:00:00 2001 From: junjie Date: Mon, 10 Jan 2022 11:37:33 +0800 Subject: [PATCH] =?UTF-8?q?fix(=E8=A7=86=E5=9B=BE):=20=E4=BF=AE=E5=A4=8D?= =?UTF-8?q?=E8=A7=86=E5=9B=BE=E4=BF=9D=E5=AD=98=E5=90=8E=E6=9C=AA=E5=88=B7?= =?UTF-8?q?=E6=96=B0=E8=AF=A6=E6=83=85=E7=9A=84=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- frontend/src/views/chart/view/ChartEdit.vue | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/frontend/src/views/chart/view/ChartEdit.vue b/frontend/src/views/chart/view/ChartEdit.vue index 363a93bd7f..e1e89fb7a5 100644 --- a/frontend/src/views/chart/view/ChartEdit.vue +++ b/frontend/src/views/chart/view/ChartEdit.vue @@ -230,11 +230,11 @@ :options="places" :placeholder="$t('chart.select_map_range')" :normalizer="normalizer" + :no-children-text="$t('commons.treeselect.no_children_text')" + :no-options-text="$t('commons.treeselect.no_options_text')" + :no-results-text="$t('commons.treeselect.no_results_text')" @input="calcData" @deselect="calcData" - :noChildrenText="$t('commons.treeselect.no_children_text')" - :noOptionsText="$t('commons.treeselect.no_options_text')" - :noResultsText="$t('commons.treeselect.no_results_text')" /> @@ -1420,6 +1420,7 @@ export default { const view = this.buildParam(true, 'chart', false, false) if (!view) return post('/chart/view/save', view).then(response => { + this.getChart(response.data.id) this.hasEdit = false this.refreshGroup(view) this.closeChangeChart()