海报:完善小程序码(添加前缀 data:image/png;base64,)

This commit is contained in:
puhui999
2024-05-25 22:20:19 +08:00
parent f46bfc6ee1
commit 2dfe61503f
9 changed files with 29 additions and 36 deletions
@@ -5,7 +5,7 @@ import third from '@/sheep/api/migration/third';
const groupon = async (poster) => {
const width = poster.width;
const userInfo = sheep.$store('user').userInfo;
const wxa_qrcode = (await third.wechat.getWxacode(poster.shareInfo.path, poster.shareInfo.query)).data;
const wxa_qrcode = 'data:image/png;base64,' + (await third.wechat.getWxacode(poster.shareInfo.path, poster.shareInfo.query)).data;
return [
{
type: 'image',