-
Notifications
You must be signed in to change notification settings - Fork 493
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
Modal 对话框函数调用方式能否简化下? #3141
Comments
想问问怎么繁琐了?不太明白你意思 |
我看了下文档,Model弹窗框 按需引入采用函数声明方式调用时,需要使用 h 函数来自定义配置,能否类似 Element Plus 的 MessageBox 的配置方式来实现在JS中函数调用? |
有代码示例看看吗? |
哦对了,element plus的MessageBox函数相当于arco的Message函数,你不应该用Modal吧,而是Message |
当时想要的是一个弹框确认的模式,需要点击确认,看到只有Modal下有这个功能就尝试使用了。 |
用Message啊,不是Modal |
我看文档,可以这样处理。多谢 @lin-97 |
你可以关闭issue了 |
关闭了 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Modal 对话框里的确认类型时采用函数方式调用时,配置项需要调用 h 方法重写,操作比较繁琐,能否简化下,类似配置项方式。
The text was updated successfully, but these errors were encountered: