alitajs / alita

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

多标签页tabsLayout能否支持通过tabsLayout运行时单独设置Tabs的属性呢? #620

Open hhhhhhhhhhhg opened 10 months ago

hhhhhhhhhhhg commented 10 months ago

目前,看代码里面, 必须要在tabsLayout运行时设置了local才能启用运行时配置, 否则将使用默认配置, 这样的话,就不能单独设置Tabs的属性了 code image

w3cpress commented 8 months ago

就上面这个功能,tabProps为什么没有绑定 initialValue 的数据呢?,自定义tab的时候 我需要initialValue这个值如何去获取? 我看定义了_initialState 为什么没有传到tabsProps对象上面呢?