Browse Source

图片列表显示全景图

zhangyu 4 years ago
parent
commit
3655e1ea91
1 changed files with 1 additions and 1 deletions
  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]) {