-
Notifications
You must be signed in to change notification settings - Fork 66
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
Refactor/dialog 样式对齐vue #548
base: develop
Are you sure you want to change the base?
Conversation
cc @epoll-j 这里还有遗漏什么吗?有什么我们可以帮助的 |
没有遗漏的 |
closeBtn | Boolean | false | 多按钮排列方式。可选项:true/false | N | ||
closeOnOverlayClick | Boolean | false | 点击蒙层时是否触发关闭事件 | N | ||
confirmBtn | TNode | - | 确认按钮。值为 null 则不显示确认按钮。值类型为字符串,则表示自定义按钮文本,值类型为 Object 则表示透传 Button 组件属性。使用 TNode 自定义按钮时,需自行控制确认事件。TS 类型:`string \| ButtonProps \| TNode \| null`。[通用类型定义](https://github.com/Tencent/tdesign-mobile-react/blob/develop/src/common.ts) | N | ||
confirmLoading | Boolean | undefined | 确认按钮加载状态 | N |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
移动端没有 confirmLoading 属性
update | `(props: DialogOptions)` | - | 更新弹框内容 | ||
destroy | \- | \- | 必需。销毁弹框 | ||
hide | \- | \- | 必需。隐藏弹框 | ||
setConfirmLoading | `(loading: boolean)` | \- | 必需。设置确认按钮加载状态 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
也没有没有 setConfirmLoading 是不录错 api 了
@epoll-j comfirmLoading 相关属性/逻辑可移除, dialog 关闭动画需要和其他端保持一致。 辛苦大佬有空在处理一波~ Mobile React: 2025-03-07.16.02.17.movMobile Vue: 2025-03-07.16.03.00.mov |
🤔 这个 PR 的性质是?
🔗 相关 Issue
#545
💡 需求背景和解决方案
📝 更新日志
feat(dialog): 新增
middle
、top
属性本条 PR 不需要纳入 Changelog
☑️ 请求合并前的自查清单