feat(option): 允许货物类型列支持排序
- 在货物类型的相关列中添加 sortable 属性 - 设置 sortable 为 true 以启用列排序功能 - 适配数据表的展示以支持排序交互 - 保持原有列的宽度和显示配置不变
This commit is contained in:
@@ -171,6 +171,7 @@ export const getCargoTypeOption = ctx => ({
|
||||
addDisplay: false,
|
||||
editDisplay: false,
|
||||
display: false,
|
||||
sortable: true,
|
||||
minWidth: 160,
|
||||
},
|
||||
{
|
||||
@@ -182,6 +183,7 @@ export const getCargoTypeOption = ctx => ({
|
||||
addDisplay: false,
|
||||
editDisplay: false,
|
||||
display: false,
|
||||
sortable: true,
|
||||
minWidth: 160,
|
||||
},
|
||||
],
|
||||
|
||||
Reference in New Issue
Block a user