Skip to content

customRender 不能自定义表单 #2345

@SosonHuang

Description

@SosonHuang

{ width: width.w_4, title: '', fixed: 'left', align: 'center', dataIndex: '', customRender: (text, row, index) => { return index + 1; } }

上面方式可行,下面带自定义的控件不行
id: { width: width.w_4, title: '头像', fixed: 'left', align: 'center', dataIndex: '', customRender: (text, row, index) => { return <im-avatar slot="avatar" slot-scope="text" url={text}></im-avatar>; } },

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions