image组件使用svg长按无法保存?

发布于 5 年前作者 xiuying50824 次浏览最后编辑 5 年前来自 ask

image组件使用格式为png\jpg等网络图片,长按保存图片正常

使用格式为svg的图片,长按保存不了,ios表现为没有保存图片也没报错提示,android表现为保存的图片是损坏的。

请问怎么解决?

<text>普通网络图片</text>
<image showMenuByLongpress mode="aspectFill" src="https://res.wx.qq.com/wxdoc/dist/assets/img/0.4cb08bb4.jpg"></image>
<text>网络svg</text>
<image showMenuByLongpress style="width:750px; height: 750px;" mode="aspectFill" src="https://www.w3school.com.cn/svg/path2.svg"></image>
1 回复
xiulanhuang
xiulanhuang1 楼3 个月前

你好,麻烦提供出现问题的具体机型、微信版本号、系统版本号,以及能复现问题的代码片段(https://developers.weixin.qq.com/miniprogram/dev/devtools/minicode.html),并详细描述下复现的流程。