部分机型,使用onShareAppMessage分享时,imageUrl传的空,自动截图一直未生成?
发布于 5 年前 作者 xiulangao 10171 次浏览 来自 问答
const sceneParams = ${thisgroupId${thiscardInfocardId || thisinviteCardId
cons  title = ${thiscardInfocardName || ''邀请您加入${thisgroupInfogroupName 
return {
  title
  imageUrl:''
  path:`pages/group-detail/index?scene=${sceneParams&from=shareJoin&createCardResource=JOIN_GROUP_MINIAPP_SHARE`
}

2 回复
let sceneParams = ${thisgroupId${thiscardInfocardId || thisinviteCardId
let title = `${thiscardInfocardName` ||`邀请您加入${thisgroupInfogroupName`
return {
  title,
  path:`pages/group-detail/index?scene=${sceneParams&from=shareJoin&createCardResource=JOIN_GROUP_MINIAPP_SHARE`
}

去掉imageUrl试试

回到顶部