Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to fix TS issues for <a disabled={editingKey !== ''} onClick={() => this.edit(record.id)}> #19501

Closed
TRUEJASONFANS opened this issue Oct 31, 2019 · 1 comment
Labels

Comments

@TRUEJASONFANS
Copy link

Type '{ children: string; disabled: boolean; onClick: () => void; }' is not assignable to type 'DetailedHTMLProps<AnchorHTMLAttributes, HTMLAnchorElement>'.
Property 'disabled' does not exist on type 'DetailedHTMLProps<AnchorHTMLAttributes, HTMLAnchorElement>'.ts(2322)

显示标签并没有disable属性

@ant-design-bot
Copy link
Contributor

Hello @TRUEJASONFANS, your issue has been closed because it does not conform to our issue requirements. Please use the Issue Helper to create an issue, thank you!

你好 @TRUEJASONFANS,为了能够进行高效沟通,我们对 issue 有一定的格式要求,你的 issue 因为不符合要求而被自动关闭。你可以通过 issue 助手 来创建 issue 以方便我们定位错误。谢谢配合!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants