FireBushtree
FireBushtree
**What kind of change does this PR introduce?** (check at least one) - [ ] Bugfix - [ ] Feature - [ ] Code style update - [ ] Refactor...
### tdesign-react 版本 1.3.1 ### 重现链接 https://github.com/FireBushtree/weight-control ### 重现步骤 在 `Form` 组件的 `useInitialData.ts` 文件中引入了其他组件,用来初始化表单的值。 导致打包后,我在项目中没有使用 `RangeInput` 等组件,但是它们的代码还是被打包进项目了。 ### 期望结果 在未使用`RangeInput` 等组件的情况下,能够成功`tree-shaking` ### 实际结果 没有使用的组件,也被打包了 ### 框架版本 _No response_ ### 浏览器版本...
When i use `withDefaults`, i want to separate definitions and defaults into two files. If without `InferDefaults`, i can not set the right value. 