收藏
回答

wx.previewImage BUG 修正反馈 麻烦官方看下

框架类型 问题类型 API/组件名称 终端类型 微信版本 基础库版本
小程序 Bug wx.previewImage 客户端 7.0.3 2.6.4

wx.previewImage({
  urls: [] 
// 需要预览的图片http链接列表
})

测试云地址 超过50个无法预览  HTTP可以

wx.previewImage({
     //current: src, // 当前显示图片的http链接
     urls: [
 
       'cloud://lcs-8566d4.6c63-lcs-8566d4/qq_logo_2x.png',
 
       'cloud://lcs-8566d4.6c63-lcs-8566d4/qq_logo_2x.png',
 
       'cloud://lcs-8566d4.6c63-lcs-8566d4/qq_logo_2x.png',
 
       'cloud://lcs-8566d4.6c63-lcs-8566d4/qq_logo_2x.png',
 
       'cloud://lcs-8566d4.6c63-lcs-8566d4/qq_logo_2x.png',
 
       'cloud://lcs-8566d4.6c63-lcs-8566d4/qq_logo_2x.png',
 
       'cloud://lcs-8566d4.6c63-lcs-8566d4/qq_logo_2x.png',
 
       'cloud://lcs-8566d4.6c63-lcs-8566d4/qq_logo_2x.png',
 
       'cloud://lcs-8566d4.6c63-lcs-8566d4/qq_logo_2x.png',
 
       'cloud://lcs-8566d4.6c63-lcs-8566d4/qq_logo_2x.png',
 
       'cloud://lcs-8566d4.6c63-lcs-8566d4/qq_logo_2x.png',
 
       'cloud://lcs-8566d4.6c63-lcs-8566d4/qq_logo_2x.png',
 
       'cloud://lcs-8566d4.6c63-lcs-8566d4/qq_logo_2x.png',
 
       'cloud://lcs-8566d4.6c63-lcs-8566d4/qq_logo_2x.png',
 
       'cloud://lcs-8566d4.6c63-lcs-8566d4/qq_logo_2x.png',
 
       'cloud://lcs-8566d4.6c63-lcs-8566d4/qq_logo_2x.png',
 
       'cloud://lcs-8566d4.6c63-lcs-8566d4/qq_logo_2x.png',
 
       'cloud://lcs-8566d4.6c63-lcs-8566d4/qq_logo_2x.png',
 
       'cloud://lcs-8566d4.6c63-lcs-8566d4/qq_logo_2x.png',
 
       'cloud://lcs-8566d4.6c63-lcs-8566d4/qq_logo_2x.png',
 
       'cloud://lcs-8566d4.6c63-lcs-8566d4/qq_logo_2x.png',
 
       'cloud://lcs-8566d4.6c63-lcs-8566d4/qq_logo_2x.png',
 
       'cloud://lcs-8566d4.6c63-lcs-8566d4/qq_logo_2x.png',
 
       'cloud://lcs-8566d4.6c63-lcs-8566d4/qq_logo_2x.png',
 
       'cloud://lcs-8566d4.6c63-lcs-8566d4/qq_logo_2x.png',
 
       'cloud://lcs-8566d4.6c63-lcs-8566d4/qq_logo_2x.png',
 
       'cloud://lcs-8566d4.6c63-lcs-8566d4/qq_logo_2x.png',
 
       'cloud://lcs-8566d4.6c63-lcs-8566d4/qq_logo_2x.png',
 
       'cloud://lcs-8566d4.6c63-lcs-8566d4/qq_logo_2x.png',
 
       'cloud://lcs-8566d4.6c63-lcs-8566d4/qq_logo_2x.png',
 
       'cloud://lcs-8566d4.6c63-lcs-8566d4/qq_logo_2x.png',
 
       'cloud://lcs-8566d4.6c63-lcs-8566d4/qq_logo_2x.png',
 
       'cloud://lcs-8566d4.6c63-lcs-8566d4/qq_logo_2x.png',
 
       'cloud://lcs-8566d4.6c63-lcs-8566d4/qq_logo_2x.png',
 
       'cloud://lcs-8566d4.6c63-lcs-8566d4/qq_logo_2x.png',
 
       'cloud://lcs-8566d4.6c63-lcs-8566d4/qq_logo_2x.png',
 
       'cloud://lcs-8566d4.6c63-lcs-8566d4/qq_logo_2x.png',
 
       'cloud://lcs-8566d4.6c63-lcs-8566d4/qq_logo_2x.png',
 
       'cloud://lcs-8566d4.6c63-lcs-8566d4/qq_logo_2x.png',
 
       'cloud://lcs-8566d4.6c63-lcs-8566d4/qq_logo_2x.png',
 
       'cloud://lcs-8566d4.6c63-lcs-8566d4/qq_logo_2x.png',
 
       'cloud://lcs-8566d4.6c63-lcs-8566d4/qq_logo_2x.png',
 
       'cloud://lcs-8566d4.6c63-lcs-8566d4/qq_logo_2x.png',
 
       'cloud://lcs-8566d4.6c63-lcs-8566d4/qq_logo_2x.png',
 
       'cloud://lcs-8566d4.6c63-lcs-8566d4/qq_logo_2x.png',
 
       'cloud://lcs-8566d4.6c63-lcs-8566d4/qq_logo_2x.png',
 
       'cloud://lcs-8566d4.6c63-lcs-8566d4/qq_logo_2x.png',
 
       'cloud://lcs-8566d4.6c63-lcs-8566d4/qq_logo_2x.png',
 
       'cloud://lcs-8566d4.6c63-lcs-8566d4/qq_logo_2x.png',
 
       'cloud://lcs-8566d4.6c63-lcs-8566d4/qq_logo_2x.png',
 
       'cloud://lcs-8566d4.6c63-lcs-8566d4/qq_logo_2x.png',
 
       'cloud://lcs-8566d4.6c63-lcs-8566d4/qq_logo_2x.png',
 
       'cloud://lcs-8566d4.6c63-lcs-8566d4/qq_logo_2x.png',
 
       'cloud://lcs-8566d4.6c63-lcs-8566d4/qq_logo_2x.png',
 
       'cloud://lcs-8566d4.6c63-lcs-8566d4/qq_logo_2x.png',
 
       'cloud://lcs-8566d4.6c63-lcs-8566d4/qq_logo_2x.png',
 
       'cloud://lcs-8566d4.6c63-lcs-8566d4/qq_logo_2x.png',
 
       'cloud://lcs-8566d4.6c63-lcs-8566d4/qq_logo_2x.png',
 
       'cloud://lcs-8566d4.6c63-lcs-8566d4/qq_logo_2x.png',
 
       'cloud://lcs-8566d4.6c63-lcs-8566d4/qq_logo_2x.png',
 
       'cloud://lcs-8566d4.6c63-lcs-8566d4/qq_logo_2x.png',
 
       'cloud://lcs-8566d4.6c63-lcs-8566d4/qq_logo_2x.png',
 
       'cloud://lcs-8566d4.6c63-lcs-8566d4/qq_logo_2x.png',
 
       'cloud://lcs-8566d4.6c63-lcs-8566d4/qq_logo_2x.png',
 
       'cloud://lcs-8566d4.6c63-lcs-8566d4/qq_logo_2x.png',
 
       'cloud://lcs-8566d4.6c63-lcs-8566d4/qq_logo_2x.png',
 
       'cloud://lcs-8566d4.6c63-lcs-8566d4/qq_logo_2x.png',
 
       'cloud://lcs-8566d4.6c63-lcs-8566d4/qq_logo_2x.png',
 
       'cloud://lcs-8566d4.6c63-lcs-8566d4/qq_logo_2x.png',
 
       'cloud://lcs-8566d4.6c63-lcs-8566d4/qq_logo_2x.png',
 
       'cloud://lcs-8566d4.6c63-lcs-8566d4/qq_logo_2x.png',
 
       'cloud://lcs-8566d4.6c63-lcs-8566d4/qq_logo_2x.png',
 
       'cloud://lcs-8566d4.6c63-lcs-8566d4/qq_logo_2x.png',
 
       'cloud://lcs-8566d4.6c63-lcs-8566d4/qq_logo_2x.png',
 
       'cloud://lcs-8566d4.6c63-lcs-8566d4/qq_logo_2x.png',
 
       'cloud://lcs-8566d4.6c63-lcs-8566d4/qq_logo_2x.png',
 
       'cloud://lcs-8566d4.6c63-lcs-8566d4/qq_logo_2x.png',
 
       'cloud://lcs-8566d4.6c63-lcs-8566d4/qq_logo_2x.png',
 
       'cloud://lcs-8566d4.6c63-lcs-8566d4/qq_logo_2x.png',
 
       'cloud://lcs-8566d4.6c63-lcs-8566d4/qq_logo_2x.png',
 
       'cloud://lcs-8566d4.6c63-lcs-8566d4/qq_logo_2x.png',
 
       'cloud://lcs-8566d4.6c63-lcs-8566d4/qq_logo_2x.png',
 
       'cloud://lcs-8566d4.6c63-lcs-8566d4/qq_logo_2x.png',
 
       'cloud://lcs-8566d4.6c63-lcs-8566d4/qq_logo_2x.png',
 
       'cloud://lcs-8566d4.6c63-lcs-8566d4/qq_logo_2x.png',
 
       'cloud://lcs-8566d4.6c63-lcs-8566d4/qq_logo_2x.png',
 
       'cloud://lcs-8566d4.6c63-lcs-8566d4/qq_logo_2x.png',
 
       'cloud://lcs-8566d4.6c63-lcs-8566d4/qq_logo_2x.png',
 
       'cloud://lcs-8566d4.6c63-lcs-8566d4/qq_logo_2x.png',
 
       'cloud://lcs-8566d4.6c63-lcs-8566d4/qq_logo_2x.png',
 
       'cloud://lcs-8566d4.6c63-lcs-8566d4/qq_logo_2x.png',
 
       'cloud://lcs-8566d4.6c63-lcs-8566d4/qq_logo_2x.png',
 
       'cloud://lcs-8566d4.6c63-lcs-8566d4/qq_logo_2x.png',
 
       'cloud://lcs-8566d4.6c63-lcs-8566d4/qq_logo_2x.png',
 
       'cloud://lcs-8566d4.6c63-lcs-8566d4/qq_logo_2x.png',
 
       'cloud://lcs-8566d4.6c63-lcs-8566d4/qq_logo_2x.png',
 
       'cloud://lcs-8566d4.6c63-lcs-8566d4/qq_logo_2x.png',
 
       'cloud://lcs-8566d4.6c63-lcs-8566d4/qq_logo_2x.png',
 
       'cloud://lcs-8566d4.6c63-lcs-8566d4/qq_logo_2x.png',
 
       'cloud://lcs-8566d4.6c63-lcs-8566d4/qq_logo_2x.png',
 
       'cloud://lcs-8566d4.6c63-lcs-8566d4/qq_logo_2x.png',
 
       'cloud://lcs-8566d4.6c63-lcs-8566d4/qq_logo_2x.png',
 
       'cloud://lcs-8566d4.6c63-lcs-8566d4/qq_logo_2x.png',
 
       'cloud://lcs-8566d4.6c63-lcs-8566d4/qq_logo_2x.png',
 
       'cloud://lcs-8566d4.6c63-lcs-8566d4/qq_logo_2x.png',
 
       'cloud://lcs-8566d4.6c63-lcs-8566d4/qq_logo_2x.png',
 
       'cloud://lcs-8566d4.6c63-lcs-8566d4/qq_logo_2x.png',
 
 
 
     ],
   })


我做了一个相册 发现 此API 的 urls: [] 参数

当列表里的元素 地址是 云图片时

超过50个元素

点击图片就 不能预览了了

我用了下腾讯网的LOGO图片作为测试,只要列表超过50 该API就不工作了

HTTP 地址的超过50个 可以

http://mat1.gtimg.com/pingjs/ext2020/qqindex2018/dist/img/qq_logo_2x.png

云地址 超过50个不行

cloud://lcs-8566d4.6c63-lcs-8566d4/qq_logo_2x.png


回答关注问题邀请回答
收藏

1 个回答

  • 再见,电脑崽
    再见,电脑崽
    2019-04-08

    这都被你发现,厉害了!~

    2019-04-08
    有用
    回复 6
    • 刘崇山
      刘崇山
      2019-04-08

      确实很着急

      咱能不皮?

      2019-04-08
      回复
    • 再见,电脑崽
      再见,电脑崽
      2019-04-08回复刘崇山

      官方估计一时半会给你解决不了。

      2019-04-08
      回复
    • 刘崇山
      刘崇山
      2019-04-08回复再见,电脑崽

      我只想知道是否是 bug

      还是我操作问题

      如果是bug

      我自己想办法改进思路绕路此地

      2019-04-08
      回复
    • 再见,电脑崽
      再见,电脑崽
      2019-04-08回复刘崇山

      估计跟内存有关

      2019-04-08
      回复
    • hexford~🐶
      hexford~🐶
      2019-04-18回复刘崇山

      基础库的问题,预计2.7.1版本修复。



      2019-04-18
      回复
    查看更多(1)
登录 后发表内容