diff --git a/src/components/edittablehead/index.vue b/src/components/edittablehead/index.vue index 72c2f0fc..4b7be45d 100644 --- a/src/components/edittablehead/index.vue +++ b/src/components/edittablehead/index.vue @@ -49,6 +49,7 @@ import { useRoute } from 'vue-router'; const functions = inject('functions') as any; import Sortable from 'sortablejs'; +import { handleClearTableQuery } from '@/utils/util'; interface TableColumnType { /** 表格列的key */ prop: string; @@ -131,6 +132,7 @@ const _arr = functions.getStorage($route.fullPath + props.columnListName); if (_arr) { columnRef.value = [..._arr]; + handleClearTableQuery(_arr); emit('update:modelValue', _arr); }