소스 검색

图片列表显示全景图

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]) {