Browse Source

文物鉴赏:更新二维文物数据

任一存 3 years ago
parent
commit
2ba44d6768
2 changed files with 6748 additions and 626 deletions
  1. 6747 625
      src/assets/data/data.js
  2. 1 1
      src/components/RelicDetail.vue

File diff suppressed because it is too large
+ 6747 - 625
src/assets/data/data.js


+ 1 - 1
src/components/RelicDetail.vue

@@ -167,7 +167,7 @@ export default {
       if (this.$route.query.imgNum === 1) {
         this.imageList = [`${this.$cdnPath}2D/${this.$route.query.bs}.jpg`]
       } else {
-        for (let index = 0; index < this.$route.query.imgNum && index < 3; index++) {
+        for (let index = 0; (index < this.$route.query.imgNum) && (index < 3); index++) {
           this.imageList.push(`${this.$cdnPath}2D/${this.$route.query.bs} (${index + 1}).jpg`)
         }
         console.log(this.imageList)