wx.showmodel无法显示弹出框?

小程序 文章 2020-08-03 15:21 718 0 全屏看文

AI助手支持GPT4.0

wx.showmodel无法显示弹出框?

 

开发调试及真机调试没出现这个问题 到了体验版就不能弹出窗口了

微信版本号“7.0.14

开发工具stable  1.03.2006090

There is no such problem in the development debugging and real machine debugging. In the experience version, you can't pop up the window. The wechat version number "7.0.14 development tool stable 1.03.2006090"

回答:

子不语:

弄一个 [ 能复现问题的简单的 ] 代码片段,我帮你看看

https://developers.weixin.qq.com/miniprogram/dev/devtools/minicode.html

请学会如何「提问」(👈戳我)

Mr:

stop eating:

没配置合法域名吧,代码没走到这块,所以没弹

Mr:就弹框提示跟域名啥关系。。!
stop eating:你没请求接口?接口业务正常又是什么?没配置合法域名,就不走usccess,不走success,怎么弹窗?
Mr:关键是开发真机调试都正常 所以不存在这个问题
stop eating:因为关掉域名校验了啊   惹不起
Mr:倒没这个意思 你没看到都能取得到邮资多少了吗?说明接口请求没问题
stop eating:当我没说

-EOF-

AI助手支持GPT4.0