我们业务会在用户发布贴图之前为用户自动填入图片,生成内容,因此使用了 wx.shareToOfficialAccount 方便用户发布到公众号贴图,并且有一个广场页,使用了official-account-publish来显示。
但是目前测试问题,用户通过official-account-publish内置的发布按钮,可以在official-account-publish中正常显示,但是通过wx.shareToOfficialAccount发布的内容,不会在official-account-publish显示,即使填写了一样的tag。
wx.shareToOfficialAccount({
title: '测试',
images: [...],
tags: [ '乡村故事' ],
success: (postObj: { postUrl: string }) => {
console.log('发布成功');
},
fail: (error: any) => {
console.error('发布失败', error);
},
});
//并未在其中显示
<official-account-publish topic="乡村故事"></official-account-publish>

你好,麻烦提供出现问题的具体机型、微信版本号、系统版本号,以及能复现问题的代码片段(https://developers.weixin.qq.com/miniprogram/dev/devtools/minicode.html)
找到解决办法了吗?我也遇到这个问题