【fix bug】67868 JTable组件拖拽某些列不能用修改

This commit is contained in:
dujie
2023-04-07 14:57:56 +08:00
parent 7f1f850060
commit 476648f58b
@@ -82,16 +82,21 @@ export default {
// 标题使用插槽使用这个代替title(用于设置里显示列名)
columnTitle: 'Name',
dataIndex: 'name',
resizable: true, // 可拖拽属性
// fixed: true,
key: 'name',
minWidth: 100,
width: 150,
slots: { title: 'customTitle' },
scopedSlots: { customRender: 'name' }
},
{
resizable: true, // 可拖拽属性
title: 'Tags',
key: 'tags',
dataIndex: 'tags',
minWidth: 200,
width: 200,
scopedSlots: { customRender: 'tags' }
},
{
@@ -102,6 +107,7 @@ export default {
width: 100
},
{
resizable: true, // 可拖拽属性
title: 'Type',
dataIndex: 'type',
width: 100