闫增涛
2024-06-04 1c389a5a5c22c8d57ee79cc9ac8ed6db6c8dbadc
src/books/childHealth/view/content/components/chapter008.vue
@@ -2406,6 +2406,10 @@
    showPageList: {
      type: Array,
    },
    isSearch: {
      type: Boolean,
      default: false,
    },
  },
  data() {
    return {
@@ -2510,6 +2514,7 @@
    };
  },
  async mounted() {
    if(!this.isSearch) {
    const localData = localStorage.getItem("chapterEnightData");
    if (localData) {
      this.chapterEnightData = JSON.parse(localData);
@@ -2521,6 +2526,7 @@
      }
    }, 1000);
    this.getVideoPath();
    }
  },
  unmounted() {
    if (window.timerEnight) {