forked from github/dataease
fix(视图): 修复视图保存后未刷新详情的问题
This commit is contained in:
parent
15bbafc2d5
commit
1bf4cc1c74
@ -230,11 +230,11 @@
|
|||||||
:options="places"
|
:options="places"
|
||||||
:placeholder="$t('chart.select_map_range')"
|
:placeholder="$t('chart.select_map_range')"
|
||||||
:normalizer="normalizer"
|
: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"
|
@input="calcData"
|
||||||
@deselect="calcData"
|
@deselect="calcData"
|
||||||
:noChildrenText="$t('commons.treeselect.no_children_text')"
|
|
||||||
:noOptionsText="$t('commons.treeselect.no_options_text')"
|
|
||||||
:noResultsText="$t('commons.treeselect.no_results_text')"
|
|
||||||
/>
|
/>
|
||||||
</span>
|
</span>
|
||||||
</el-row>
|
</el-row>
|
||||||
@ -1420,6 +1420,7 @@ export default {
|
|||||||
const view = this.buildParam(true, 'chart', false, false)
|
const view = this.buildParam(true, 'chart', false, false)
|
||||||
if (!view) return
|
if (!view) return
|
||||||
post('/chart/view/save', view).then(response => {
|
post('/chart/view/save', view).then(response => {
|
||||||
|
this.getChart(response.data.id)
|
||||||
this.hasEdit = false
|
this.hasEdit = false
|
||||||
this.refreshGroup(view)
|
this.refreshGroup(view)
|
||||||
this.closeChangeChart()
|
this.closeChangeChart()
|
||||||
|
Loading…
Reference in New Issue
Block a user