alitajs / alita

A React framework based on umi.
https://alitajs.com
MIT License
793 stars 85 forks source link

feat: 通过判断antd的版本来决定Tabs的渲染方式 #521

Closed chj-damon closed 1 year ago

chj-damon commented 1 year ago

从4.23.0起,antd推荐Tabs使用items属性传递,而对TabPane的使用场景在控制台会报错 这个PR的目的是判断安装的antd版本来决定具体使用哪种方式进行渲染

changeset-bot[bot] commented 1 year ago

🦋 Changeset detected

Latest commit: 505a58d530c1286a8c59629f234b75e0a7527e74

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 2 packages | Name | Type | | -------------- | ----- | | @alita/plugins | Patch | | alita | Patch |

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR