wxxs相关:
wxxl相关:
调试器:可以看到点击按钮已经进入了onShareAppMessage里了,
实际结果:显示的当前分享页面截图,而非在onShareAppMessage中配置的相关信息。
一直怀疑是我的代码写得有问题,知道我用微信开发者工具新建了一个全新的模板项目发现也是不行。
小程序onShareAppMessage分享时自定义标题、路径、封面失效?Does the custom title, path, and cover of the applet onShareAppMessage fail when sharing?
小程序onShareAppMessage分享时自定义标题、路径、封面失效?wxxs相关:
wxxl相关:
调试器:可以看到点击按钮已经进入了onShareAppMessage里了,
实际结果:显示的当前分享页面截图,而非在onShareAppMessage中配置的相关信息。
一直怀疑是我的代码写得有问题,知道我用微信开发者工具新建了一个全新的模板项目发现也是不行。
Wxxs related: wxxl related: debugger: you can see that you have entered onshare appmessage by clicking the button. Actual result: the screenshot of the current sharing page is displayed instead of the related information configured in onshare appmessage. I always suspected that there was something wrong with my code. I knew that I had created a new template project with wechat developer tool, and I found that it was no good.
回答:
图片是否可以访问?
代码片段给你一下