diff --git a/frontend/src/components/pure/ms-table/base-table.vue b/frontend/src/components/pure/ms-table/base-table.vue index e2dae47c5a..198a3f0189 100644 --- a/frontend/src/components/pure/ms-table/base-table.vue +++ b/frontend/src/components/pure/ms-table/base-table.vue @@ -818,6 +818,7 @@ }; const handleInitColumn = async () => { + emit('sorterChange', {}); await initColumn(); }; diff --git a/frontend/src/components/pure/ms-table/columnSelector.vue b/frontend/src/components/pure/ms-table/columnSelector.vue index 1c24f74cd0..953a915873 100644 --- a/frontend/src/components/pure/ms-table/columnSelector.vue +++ b/frontend/src/components/pure/ms-table/columnSelector.vue @@ -160,7 +160,9 @@ subdirectoryVal.value ); emit('update:visible', false); - emit('initData'); + if (hasChange.value) { + emit('initData'); + } }; const loadColumn = (key: TableKeyEnum) => {