mirror of
https://github.com/vbenjs/vue-vben-admin.git
synced 2025-01-25 02:58:43 +08:00
fix: 修复ColumnSetting中默认隐藏列拖拽排序错误的bug (#1931)
Co-authored-by: 顾佳磊 <jareygu@gmail.com>
This commit is contained in:
parent
19dc88b4e0
commit
50468e9581
@ -313,7 +313,12 @@
|
||||
}
|
||||
|
||||
plainSortOptions.value = columns;
|
||||
setColumns(columns);
|
||||
|
||||
setColumns(
|
||||
columns
|
||||
.map((col: Options) => col.value)
|
||||
.filter((value: string) => state.checkedList.includes(value)),
|
||||
);
|
||||
},
|
||||
});
|
||||
// 记录原始order 序列
|
||||
|
Loading…
Reference in New Issue
Block a user