Browse Source

获取时删除缓存

dev-xx
qb 9 months ago
parent
commit
663f3a7883
  1. 2
      src/components/edittablehead/index.vue

2
src/components/edittablehead/index.vue

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

Loading…
Cancel
Save