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

fix(dialog): visible property now is undercontrol #124

Merged
merged 1 commit into from
Jan 20, 2022

Conversation

LeeJim
Copy link
Collaborator

@LeeJim LeeJim commented Jan 18, 2022

Dialog:

  • visible 改成受控属性
  • 修复 Dialog.action 展示错误的问题

resolve #31

@LeeJim LeeJim requested a review from jin0209 January 18, 2022 08:11
@@ -96,7 +94,7 @@ export default {
return new Promise((resolve) => {
instance.setData({
actions,
direction: 'vertical',
buttonLayout: 'vertical',
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

这边符合预期吗,没看到pr里其他关于这个的变化

Copy link
Collaborator Author

@LeeJim LeeJim Jan 20, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

这个是之前的API变更了,没有改,顺便修复的问题。
我在 PR 也说了,修复 Dialog.action 错误的问题

@jin0209 jin0209 merged commit d58421f into develop Jan 20, 2022
@jin0209 jin0209 deleted the refactor/dialog-under-control branch January 20, 2022 12:31
@LeeJim LeeJim mentioned this pull request Jan 22, 2022
28 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

dialog 支持 async-close
3 participants