소스 검색

fix: 23983 (v1.1.0全景看看)我的素材-全景图片,预览的全景图名称有误

任一存 4 년 전
부모
커밋
f72a8b5eef
3개의 변경된 파일3개의 추가작업 그리고 3개의 파일을 삭제
  1. 1 1
      src/views/material/image/index.vue
  2. 1 1
      src/views/material/pano/index.vue
  3. 1 1
      src/views/material/video/index.vue

+ 1 - 1
src/views/material/image/index.vue

@@ -112,7 +112,7 @@
       ref="image-previewer"
       ref="image-previewer"
       :canFullScreen="false"
       :canFullScreen="false"
       :imageList="list.map(item => item.icon)"
       :imageList="list.map(item => item.icon)"
-      :imageTitleList="list.map(item => item.fileName)"
+      :imageTitleList="list.map(item => item.name)"
       @click-delete="onClickDeleteInPreview"
       @click-delete="onClickDeleteInPreview"
     />
     />
   </div>
   </div>

+ 1 - 1
src/views/material/pano/index.vue

@@ -125,7 +125,7 @@
     <preview
     <preview
       ref="image-previewer"
       ref="image-previewer"
       :sceneCodeList="list.map(item => item.sceneCode)"
       :sceneCodeList="list.map(item => item.sceneCode)"
-      :imageTitleList="list.map(item => item.fileName)"
+      :imageTitleList="list.map(item => item.name)"
       @click-delete="onClickDeleteInPreview"
       @click-delete="onClickDeleteInPreview"
     />
     />
     <cover
     <cover

+ 1 - 1
src/views/material/video/index.vue

@@ -190,7 +190,7 @@ export default {
       const index = this.list.findIndex((eachItem) => {
       const index = this.list.findIndex((eachItem) => {
         return eachItem.id === clickItem.id
         return eachItem.id === clickItem.id
       })
       })
-      index >= 0 && this.$refs['video-previewer'].show(this.list[index].fileName, this.list[index].ossPath)
+      index >= 0 && this.$refs['video-previewer'].show(this.list[index].name, this.list[index].ossPath)
     },
     },
     onFilterFocus() {
     onFilterFocus() {
       this.isFilterFocus = true
       this.isFilterFocus = true