任一存 2 년 전
부모
커밋
51e9962877
1개의 변경된 파일2개의 추가작업 그리고 1개의 파일을 삭제
  1. 2 1
      src/components/RelicDetail.vue

+ 2 - 1
src/components/RelicDetail.vue

@@ -115,7 +115,8 @@ export default {
   mounted() {
     this.title = this.$route.query.name
     this.dimNumber = this.$route.query.dimNumber
-    this.iframeSrc = 'https://4dscene.4dage.com/culturalrelics/NSRDYT/Model2.html?m=nsr03'
+
+    this.iframeSrc = `http://4dscene.4dage.com/culturalrelics/YHTLSJNG/Model2.html?m=${this.$route.query.bs}`
     if (this.$route.query.imgNum && this.$route.query.imgNum > 1) {
       for (let index = 0; index < this.$route.query.imgNum; index++) {
         this.imageList.push(`${this.$cdnPath}${this.dimNumber}D/${this.$route.query.bs}_${index + 1}.${this.dimNumber === 3 ? 'png' : 'jpg'}`)