| | |
| | | </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 { |
| | |
| | | }, |
| | | questionData: { |
| | | type: Object, |
| | | }, |
| | | isSearch: { |
| | | type: Boolean, |
| | | default: false, |
| | | }, |
| | | }, |
| | | data() { |
| | |
| | | examinations, |
| | | }, |
| | | async created() { |
| | | 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 = |
| | | // "https://jsek.bnuic.com/file/api/ApiDownload?md5=04fafb0e896ffe0379edd6d695a92b13"; |
| | | } |
| | | }, |
| | | methods: { |
| | | activityOne() { |