Skip to content

Commit

Permalink
reset column
Browse files Browse the repository at this point in the history
  • Loading branch information
xxf098 committed Aug 26, 2023
1 parent 8e54e42 commit ed3d1a4
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions web/gui/src/App.vue
Original file line number Diff line number Diff line change
Expand Up @@ -362,6 +362,7 @@ export default {
// agGrid
columns: this.columns,
gridApi: null,
gridColumnApi: null,
getRowId: null,
domLayout: null,
rowSelection: null,
Expand Down Expand Up @@ -498,7 +499,7 @@ export default {
},
onGridReady(params) {
this.gridApi = params.api;
// this.gridColumnApi = params.columnApi;
this.gridColumnApi = params.columnApi;
},
onSelectionChanged() {
const selectedRows = this.gridApi.getSelectedRows();
Expand Down Expand Up @@ -597,8 +598,9 @@ export default {
this.totalTime = 0;
this.picdata = "";
this.result = [];
this.gridColumnApi.resetColumnState();
this.incrTotalTime()
this.loadingContent = "等待后端响应……";
this.loadingContent = "等待后端响应……";
this.starttest();
}
},
Expand Down

0 comments on commit ed3d1a4

Please sign in to comment.