| | |
| | | </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 { |
| | |
| | | }, |
| | | questionData: { |
| | | type: Object, |
| | | }, |
| | | isSearch: { |
| | | type: Boolean, |
| | | default: false, |
| | | }, |
| | | }, |
| | | data() { |
| | |
| | | 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() { |