소스 검색

大场景页面打开方式改回iframe

任一存 3 년 전
부모
커밋
7d59274e95
1개의 변경된 파일3개의 추가작업 그리고 3개의 파일을 삭제
  1. 3 3
      src/views/ExhibitionDetail.vue

+ 3 - 3
src/views/ExhibitionDetail.vue

@@ -201,9 +201,9 @@ export default {
         this.showMask = true
         this.videoSrc = `${this.$backEndBaseUrl}exhibition-data/${this.$route.query.exhibitionId}/${value.videoSrc}`
       } else if (value.type === 'link') {
-        // this.showIframe = true
-        // this.linkSrc = value.linkSrc
-        window.open(value.linkSrc)
+        this.showIframe = true
+        this.linkSrc = value.linkSrc
+        // window.open(value.linkSrc)
       } else if (value.type === 'image') {
         this.showMask = true
         this.imageSrc = value.src