-
Notifications
You must be signed in to change notification settings - Fork 163
New issue
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
弹框的逻辑能否处理一下 #137
Comments
可以通过自定义 Modal 的设计器渲染形态来解决, Boot 提供了设计形态的自定义能力 export default defineComponent(AntModal, {
name: 'Modal',
designerConfig: {
render: ({ originalProps, designerProps, children }) => (
<YourCustomModalDesigner {...designerProps} {...originalProps} />
),
},
}); 参考:https://github.com/NetEase/tango-boot/blob/main/packages/boot/src/defineComponent.tsx |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
1、项目中没有看到弹框的处理逻辑
2、能否把弹框的逻辑梳理一下, 就算是不能运行的, 能把思路介绍一下吗
The text was updated successfully, but these errors were encountered: