We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Tab
使用泛型来读取tabItems的key,并将该类型作为onChange的params类型返回
导致的问题: 如下图,我的activeKey是一个string枚举,直接在onChange中使用就会报错,迫使我只能写成setActiveKey(v as ProductLineTabKey)
setActiveKey(v as ProductLineTabKey)
The text was updated successfully, but these errors were encountered:
这是您为 Fusion/Next 提的第一个 issue,感谢您对 Fusion 的信任和支持,我们会尽快进行处理。
Sorry, something went wrong.
你把 v 指定成 ProductionTabKey 即可
No branches or pull requests
Component
Tab
Feature Description
使用泛型来读取tabItems的key,并将该类型作为onChange的params类型返回
导致的问题:
如下图,我的activeKey是一个string枚举,直接在onChange中使用就会报错,迫使我只能写成
setActiveKey(v as ProductLineTabKey)
The text was updated successfully, but these errors were encountered: