unknown
2024-06-05 58a1f8c0fe7c46f21382f6359be02a8e375ece04
src/books/lifeCare/view/chapter001.vue
@@ -1403,7 +1403,7 @@
</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 {
@@ -1415,6 +1415,10 @@
    },
    questionData: {
      type: Object,
    },
    isSearch: {
      type: Boolean,
      default: false,
    },
  },
  data() {
@@ -1440,13 +1444,15 @@
    examinations,
  },
  async created() {
    const localData = JSON.parse(localStorage.getItem("chapter001"));
    if (localData) {
      this.chapter001 = { ...Object.assign(this.chapter001, localData) };
    if (!this.isSearch) {
      const localData = JSON.parse(localStorage.getItem("chapter001"));
      if (localData) {
        this.chapter001 = { ...Object.assign(this.chapter001, localData) };
      }
      this.chapter001.videOneUrl = await getResourcePath(
        "68ebd5c05bcb742999a9ebdce4b4bd53"
      );
    }
    this.chapter001.videOneUrl = await getResourcePath(
      "68ebd5c05bcb742999a9ebdce4b4bd53"
    );
  },
  methods: {
    activityOne() {