【fix bug】67868 JTable组件拖拽某些列不能用修改
This commit is contained in:
@@ -82,16 +82,21 @@ export default {
|
|||||||
// 标题使用插槽使用这个代替title(用于设置里显示列名)
|
// 标题使用插槽使用这个代替title(用于设置里显示列名)
|
||||||
columnTitle: 'Name',
|
columnTitle: 'Name',
|
||||||
dataIndex: 'name',
|
dataIndex: 'name',
|
||||||
|
resizable: true, // 可拖拽属性
|
||||||
|
// fixed: true,
|
||||||
key: 'name',
|
key: 'name',
|
||||||
minWidth: 100,
|
minWidth: 100,
|
||||||
|
width: 150,
|
||||||
slots: { title: 'customTitle' },
|
slots: { title: 'customTitle' },
|
||||||
scopedSlots: { customRender: 'name' }
|
scopedSlots: { customRender: 'name' }
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
resizable: true, // 可拖拽属性
|
||||||
title: 'Tags',
|
title: 'Tags',
|
||||||
key: 'tags',
|
key: 'tags',
|
||||||
dataIndex: 'tags',
|
dataIndex: 'tags',
|
||||||
minWidth: 200,
|
minWidth: 200,
|
||||||
|
width: 200,
|
||||||
scopedSlots: { customRender: 'tags' }
|
scopedSlots: { customRender: 'tags' }
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
@@ -102,6 +107,7 @@ export default {
|
|||||||
width: 100
|
width: 100
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
resizable: true, // 可拖拽属性
|
||||||
title: 'Type',
|
title: 'Type',
|
||||||
dataIndex: 'type',
|
dataIndex: 'type',
|
||||||
width: 100
|
width: 100
|
||||||
|
|||||||
Reference in New Issue
Block a user