wip: table列设置开发
This commit is contained in:
@@ -157,6 +157,7 @@ export const useTable = (config: UseTableConfig) => {
|
||||
},
|
||||
|
||||
sortableChange: (e: any) => {
|
||||
console.log('sortableChange', e)
|
||||
const { oldIndex, newIndex } = e
|
||||
dataList.value.splice(newIndex, 0, dataList.value.splice(oldIndex, 1)[0])
|
||||
// to do something
|
||||
|
||||
Reference in New Issue
Block a user