Skip to content
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

MessageBox 异步功能 #229

Closed
qq571884932 opened this issue Apr 9, 2024 · 2 comments · Fixed by #237
Closed

MessageBox 异步功能 #229

qq571884932 opened this issue Apr 9, 2024 · 2 comments · Fixed by #237
Assignees
Labels
feature 新特性

Comments

@qq571884932
Copy link

这个功能解决了什么问题?

message.confirm().then().catch() 的时候 点击确认按钮 需要调用接口之后 再控制弹窗的关闭,所以这里需要一个异步支持,具体可以参考ArcoUI的Modal 对话框组件的异步关闭,链接:https://arco.design/vue/component/modal

你期望的 API 是什么样子的?

@qq571884932 qq571884932 added the feature: need confirm 待确认的新特性 label Apr 9, 2024
@qq571884932 qq571884932 changed the title MessageBox 功能 MessageBox 异步功能 Apr 9, 2024
@Moonofweisheng Moonofweisheng added feature 新特性 and removed feature: need confirm 待确认的新特性 labels Apr 10, 2024
@Moonofweisheng Moonofweisheng self-assigned this Apr 10, 2024
@Moonofweisheng
Copy link
Owner

计划提供beforeConfirm钩子用于开发者处理相关逻辑后再将MessageBox关闭

Copy link

此 issue 已被自动锁定,因为关闭后没有任何近期活动。如果有相关 bug,请重新创建一个新 issue。

@github-actions github-actions bot locked and limited conversation to collaborators Jul 17, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
feature 新特性
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants