Open huxuezhi opened 1 month ago
提问前先看看:
https://github.com/ryanhanwu/How-To-Ask-Questions-The-Smart-Way/blob/main/README-zh_CN.md
BetaSchemaForm 抽屉与弹窗布局,在受控模式下,渲染不同步,第一次表单没渲染,第二次才会渲染。以前的issue里有出现过,现在最新版本又出现了
https://codesandbox.io/p/sandbox/antd-pro-knrqjp
"react": "^18.0.0", "react-dom": "^18.0.0", "antd": "5.19.2", "@ant-design/pro-components": "2.7.13"
问题在弹窗模式下,只有弹窗关闭时才会触发表单的渲染,在弹窗打开的时候并不会触发表单渲染
提问前先看看:
https://github.com/ryanhanwu/How-To-Ask-Questions-The-Smart-Way/blob/main/README-zh_CN.md
🐛 bug 描述
BetaSchemaForm 抽屉与弹窗布局,在受控模式下,渲染不同步,第一次表单没渲染,第二次才会渲染。以前的issue里有出现过,现在最新版本又出现了
📷 复现步骤
https://codesandbox.io/p/sandbox/antd-pro-knrqjp
🏞 期望结果
💻 复现代码
https://codesandbox.io/p/sandbox/antd-pro-knrqjp
© 版本信息
"react": "^18.0.0", "react-dom": "^18.0.0", "antd": "5.19.2", "@ant-design/pro-components": "2.7.13"
🚑 其他信息