ios企业微信在H5页面打开会话窗口回调中调用wx.closeWindow时,将会话窗口关闭了

小游戏 企业微信 微信支付 小程序 文章 2020-07-30 21:06 1324 0 全屏看文

AI助手支持GPT4.0

ios企业微信在H5页面打开会话窗口回调中调用wx.closeWindow时,将会话窗口关闭了
问题类型 API/组件名称 终端类型 微信版本 基础库版本
Bug wx.closeWindow 微信iOS客户端 3.0.25(49400) IOS13.5.1 WeChat7.0.1

     

功能:调用openEnterpriseChat后打开会话窗口,关闭H5网页页面,在安卓手机上表现正常,在ios中调用closeWindow后会打开会话窗口后立刻关闭会话窗口并回到H5页面,看起来就是在H5页面闪了一下代码片段:        wx.openEnterpriseChat({        userIdsthis.data.userId,        externalUserIdsthis.data.externalUserId,        groupName'',        successfunction(res{            // 回调            wx.closeWindow()        },        failfunction(res{            console.log('res', res)                   } })

Problem type API / component name terminal type wechat version basic library version bug wx.closeWindow Wechat IOS client 3.0.25 (49400) ios13.5.1 wechat7.0.1 Function: after opening the session window after calling openEnterpriseChat, closing the H5 page page, showing normal on Android mobile phone. After calling closeWindow in IOS, the session window will be closed and the H5 page will be turned off after opening the session window. wx.openEnterpriseChat ({        userIds:  this.data.userId ,         externalUserIds:  this.data.externalUserId , groupname '', success: function (RES) {/ / callback wx.closeWindow ()        },        fail: function(res) {             console.log ('res',  res)                   } })

回答:

企业微信运营专员-千夜:

您好,能否录个视频提供看看表现呢

-EOF-

AI助手支持GPT4.0