分享安卓没有图片?
发布于 7 年前 作者 xiulan79 13053 次浏览 来自 官方Issues

var img = self.data.cover + '?t=' + new Date().getTime();

console.log(img)

return {

title: self.data.info.title,

desc: '健康就是这么快乐简单~',

path: url, // 路径,传递参数到指定页面。

imageUrl: img ,

}

打印出来的 https://static.ziyimall.com/static/upload/92ff1d22ce00e347/4927be1c5727fcf4.jpg?t=1565054391931

转发分享接口 开发者工具有图片 ios有图片  安卓没有图片 项目上线没有图片

 

1 回复

建议先自行调试下小程序:

1、使用wx.setEnableDebug(Object object)开启调试开关https://developers.weixin.qq.com/miniprogram/dev/api/base/debug/wx.setEnableDebug.html

2、在正式版打开调试还有一种方法,就是先在开发版或体验版打开调试,再切到正式版就能看到vConsole

回到顶部