diff --git a/frontend/src/views/chart/view/ChartEdit.vue b/frontend/src/views/chart/view/ChartEdit.vue index d55a280f8a..0ad3a94395 100644 --- a/frontend/src/views/chart/view/ChartEdit.vue +++ b/frontend/src/views/chart/view/ChartEdit.vue @@ -1478,7 +1478,9 @@ export default { this.view.resultCount = '1000' } if (switchType) { - this.view.senior.threshold.tableThreshold = [] + this.view.senior.threshold = { + tableThreshold: [] + } } if (switchType && (this.view.type === 'table-info' || this.chart.type === 'table-info') && this.view.xaxis.length > 0) { this.$message({