uni-popup点击确定如何根据条件判断是否关闭?
![z***@163.com](https://img-cdn-tc.dcloud.net.cn/account/identicon/eb4eff118453a9c77d0e55436d43c862.png)
z***@163.com
- 发布:2023-09-12 13:11
- 更新:2023-11-13 22:34
- 阅读:762
3 个回复
爱豆豆 - 办法总比困难多
能详细描述一下问题吗?没看懂你说的意思 关闭的话不是自己控制的吗?
喜欢技术的前端 - QQ---445849201
给 uni-popup 多加个 属性传值,在uni-popup 组件中的close 方法进行判断,是否关闭
d***@126.com
:before-close="true"
手动关闭:this.$refs.inputDialog.close();