فهرست منبع

需求小优化

任一存 2 سال پیش
والد
کامیت
1f20f49c84
3فایلهای تغییر یافته به همراه11 افزوده شده و 11 حذف شده
  1. 9 9
      src/exhibitionData.js
  2. 1 1
      src/views/ExhibitionDetail.vue
  3. 1 1
      src/views/ExhibitionDetailAnimation.vue

تفاوت فایلی نمایش داده نمی شود زیرا این فایل بسیار بزرگ است
+ 9 - 9
src/exhibitionData.js


+ 1 - 1
src/views/ExhibitionDetail.vue

@@ -289,7 +289,7 @@ export default {
   },
   methods: {
     onClickPageBack() {
-      this.$router.go(-2)
+      this.$router.go(-1)
     },
     onClickCloseMask() {
       this.showMask = false

+ 1 - 1
src/views/ExhibitionDetailAnimation.vue

@@ -84,7 +84,7 @@ export default {
         } while (this.imgStateList[this.currentFrameIdx] === false)
         if (this.currentFrameIdx >= frameNumber - 1) {
           clearInterval(this.intervalId)
-          this.$router.push({ name: 'ExhibitionDetail', query: this.$route.query })
+          this.$router.replace({ name: 'ExhibitionDetail', query: this.$route.query })
         }
       } else {
         this.isLoading = true