wx.closeWindow()在苹果手机中无效这个怎么解决?

发布于 7 年前作者 gangsun10079 次浏览最后编辑 7 年前来自 issues

wx.closeWindow()在苹果手机中无效这个怎么解决?

<script src="http://res.wx.qq.com/open/js/jweixin-1.4.0.js"></script>
 
<script>
  wx.config({
   debug: false,
   appId: '',
   timestamp: ,
   nonceStr: '',
   signature: '',
   jsApiList: [
     // 所有要调用的 API 都要加到这个列表中
     'getLocation',
     'hideOptionMenu',
     'closeWindow'
   ]
 });
 wx.ready(function () {
wx.closeWindow();
});
 </script>
1 回复
shaoxiulan
shaoxiulan1 楼5 年前

麻烦提供出现问题的具体机型、微信版本号、系统版本号,以及能复现问题的代码片段(https://developers.weixin.qq.com/miniprogram/dev/devtools/minicode.html