-
Notifications
You must be signed in to change notification settings - Fork 464
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
h5点击popup遮罩层没退出 #18
Comments
就是这样设计的,要加 |
这....好吧,只是个人建议麻烦更新下文档,这个close事件放到模板里,不然总是默认认为不需要加事件
…------------------ 原始邮件 ------------------
发件人: ***@***.***>;
发送时间: 2021年11月17日(星期三) 下午4:58
收件人: ***@***.***>;
抄送: ***@***.***>; ***@***.***>;
主题: Re: [umicro/uView2.0] h5点击popup遮罩层没退出 (Issue #18)
***@***.***="show=false"关闭
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or unsubscribe.
Triage notifications on the go with GitHub Mobile for iOS or Android.
|
这样设计应该是为了自定义是否关闭 <u-popup
:show="show"
@update:show="customLogic"
/> 2.不需要 <u-popup
:show.sync="show"
/> |
如果你觉得设计是否麻烦,我觉得你可参考下主流框架的popup,像react就是采用close事件的方式
…------------------ 原始邮件 ------------------
发件人: ***@***.***>;
发送时间: 2021年11月17日(星期三) 下午5:05
收件人: ***@***.***>;
抄送: ***@***.***>; ***@***.***>;
主题: Re: [umicro/uView2.0] h5点击popup遮罩层没退出 (Issue #18)
这样设计应该是为了自定义是否关闭
但这样反直觉,用起来也很麻烦
我觉得应该改为:show.sync="show"这种模式
1.需要自定义
<u-popup :show="show" @update:show="customLogic" />
2.不需要
<u-popup :show.sync="show" />
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or unsubscribe.
Triage notifications on the go with GitHub Mobile for iOS or Android.
|
怎么解决弹出没动画 退出有动画 |
已处理 |
这个组件我测试支持v-model属性啊,文档里没说明,点击遮罩层可以自动更新值为false |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
No description provided.
The text was updated successfully, but these errors were encountered: