diff --git a/frontend/package.json b/frontend/package.json index a1d0d4da34..1fbba511db 100644 --- a/frontend/package.json +++ b/frontend/package.json @@ -1,6 +1,6 @@ { "name": "dataease", - "version": "1.8.0", + "version": "1.9.0", "description": "dataease front", "private": true, "scripts": { diff --git a/frontend/src/views/chart/view/ChartEdit.vue b/frontend/src/views/chart/view/ChartEdit.vue index 021f2a1830..837c56f295 100644 --- a/frontend/src/views/chart/view/ChartEdit.vue +++ b/frontend/src/views/chart/view/ChartEdit.vue @@ -2197,6 +2197,7 @@ export default { // 更换数据集 changeChart() { + this.view.dataFrom = 'dataset' if (this.view.tableId !== this.changeTable.id) { this.view.tableId = this.changeTable.id this.view.xaxis = [] @@ -2207,7 +2208,6 @@ export default { this.view.extStack = [] this.view.extBubble = [] this.view.drillFields = [] - this.view.dataFrom = 'dataset' } // this.save(true, 'chart', false) this.calcData(true, 'chart', false)