diff --git a/frontend/src/views/chart/view/ChartEdit.vue b/frontend/src/views/chart/view/ChartEdit.vue index 5265fc7905..a47603a0a3 100644 --- a/frontend/src/views/chart/view/ChartEdit.vue +++ b/frontend/src/views/chart/view/ChartEdit.vue @@ -709,6 +709,19 @@ export default { this.httpRequest.msg = err.response.data.message return true }) + } else { + post('/dataset/table/getFieldsFromDE', { id: id }).then(response => { + this.dimension = response.data.dimension + this.quota = response.data.quota + this.dimensionData = JSON.parse(JSON.stringify(this.dimension)) + this.quotaData = JSON.parse(JSON.stringify(this.quota)) + this.fieldFilter(this.searchField) + }).catch(err => { + this.resetView() + this.httpRequest.status = err.response.data.success + this.httpRequest.msg = err.response.data.message + return true + }) } }, save(getData, trigger, needRefreshGroup = false) {