浏览代码

图片列表显示全景图

zhangyu 4 年之前
父节点
当前提交
3655e1ea91
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      src/views/ledger/facility/details/index.vue

+ 1 - 1
src/views/ledger/facility/details/index.vue

@@ -303,7 +303,7 @@ export default {
             case 'LedgerParam.PhotoDoc.Nameplate':
             case 'LedgerParam.PhotoDoc.Pic':
               if (this.instance.hasOwnProperty(i.Path)) {
-                i.PicList = this.instance[i.Path].filter(i => i.Type === 'image')
+                i.PicList = this.instance[i.Path].filter(i => i.Type === 'image' || i.Type === 'panorama')
                 video = video.concat(this.instance[i.Path].filter(i => i.Type === 'video'))
               }
               if (picObject[i.InfoPointName]) {