闫增涛
2024-06-05 23ebc0d9ee7d4b06916478f84b411d0406f11a3a
src/books/lifeCare/view/chapter006.vue
@@ -1307,7 +1307,7 @@
  </div>
</template>
<script>
import {getResourcePath} from "@/assets/methods/resources.js";
import { getResourcePath } from "@/assets/methods/resources.js";
import examinations from "@/components/examinations/index.vue";
export default {
@@ -1319,6 +1319,10 @@
    },
    questionData: {
      type: Object,
    },
    isSearch: {
      type: Boolean,
      default: false,
    },
  },
  data() {
@@ -1455,15 +1459,15 @@
    examinations,
  },
  async created() {
    const localData = JSON.parse(localStorage.getItem("chapter006"));
    if (localData) {
      this.chapter006 = { ...Object.assign(this.chapter006, localData) };
    if (!this.isSearch) {
      const localData = JSON.parse(localStorage.getItem("chapter006"));
      if (localData) {
        this.chapter006 = { ...Object.assign(this.chapter006, localData) };
      }
      this.chapter006.videOneUrl = await getResourcePath(
        "04fafb0e896ffe0379edd6d695a92b13"
      );
    }
    this.chapter006.videOneUrl = await getResourcePath(
      "04fafb0e896ffe0379edd6d695a92b13"
    );
    // this.chapter006.videOneUrl =
    //   "https://jsek.bnuic.com/file/api/ApiDownload?md5=04fafb0e896ffe0379edd6d695a92b13";
  },
  methods: {
    activityOne() {