diff --git a/frontend/src/views/chart/components/shapeAttr/TotalCfg.vue b/frontend/src/views/chart/components/shapeAttr/TotalCfg.vue index 9da9d99173..6756936e00 100644 --- a/frontend/src/views/chart/components/shapeAttr/TotalCfg.vue +++ b/frontend/src/views/chart/components/shapeAttr/TotalCfg.vue @@ -425,9 +425,7 @@ export default { if (this.resetTotalSort(this.totalForm.row.totalSortField)) { this.totalForm.row.totalSortField = this.totalSortFields[0].dataeaseName } - if (this.resetTotalSort(this.totalForm.col.totalSortField)) { - this.totalForm.col.totalSortField = this.totalSortFields[0].dataeaseName - } + this.totalForm.col.totalSortField = this.totalSortFields[0].dataeaseName } else { this.totalForm.row.totalSortField = '' this.totalForm.col.totalSortField = ''