Skip to content

typescript tsx #214

@ZhaoRd

Description

@ZhaoRd
  • I have searched the issues of this repository and believe that this is not a duplicate.

What problem does this feature solve?

使用 vue cli 3.0 和 typescript,组件 table 的 customRender 不能使用!
报错信息:
Error in data(): "TypeError: Cannot read property '$createElement' of undefined"

What does the proposed API look like?

{
title: '商品编号',
dataIndex: 'id',
key: 'id',
customRender: (text: any, row: any, index: any/**/) => {

return <a href=""></a>;

},
},
}

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