|
|
@ -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); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|