webView内嵌网页转发时webViewUrl的参数问题

发布于 8 年前作者 guiyinglai11093 次浏览最后编辑 8 年前来自 ask
onShareAppMessage: function (options) {
   let webViewUrl = options.webViewUrl;
  console.log(webViewUrl)
}

此时当前webview的地址为

http://localhost:8080/#/result?atoId=38

当点击转发是在安卓下可以完整的获取到url,

但是在ios只能获取#前面的,即获取到的webViewUrl为:

http://localhost:8080/

求解决

2 回复
guiyingduan
guiyingduan1 楼6 年前

没人来解决吗 - -!

kchen
kchen2 楼6 年前

同等问题,求解决方案