官方文档上为什么没写model弹窗组件?

微信问答 文章 2021-12-01 14:00 237 0 全屏看文

AI助手支持GPT4.0

官方文档上为什么没写model弹窗组件?Why is the model pop-up component not written in the official document?

官方文档上为什么没写model弹窗组件?

我也是查csdn才看到的

I only saw it after checking CSDN

鍥炵瓟锛�

Lv: Max Human:

因为废弃了(还是可以用,不建议用)。现在是让使用 wx.showModal

Remo筠:showModal无法自定义输入框等等,不是很方便
Lv: Max Human:只支持显示输入框。自定义样式不支持。
xplee:

确实可以,未知原因,没有公开吧

微喵网络:

以前是有组件的,后来用api代替了,只能是说,建议不要用,因为官方不会保证你能一直用下去。。

https://developers.weixin.qq.com/miniprogram/dev/component/modal.html


Remo筠:打不开
微喵网络:对啊,没了

-EOF-

AI助手支持GPT4.0