Bläddra i källkod

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

任一存 3 år sedan
förälder
incheckning
7d59274e95
1 ändrade filer med 3 tillägg och 3 borttagningar
  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