From 530f8bc6a8438a95ad6582f85362da87b911dcf8 Mon Sep 17 00:00:00 2001 From: 闫增涛 <1829501689@qq.com> Date: 星期四, 23 五月 2024 15:24:05 +0800 Subject: [PATCH] Merge branch 'master' of http://182.92.203.7:2001/r/testbookLayout --- src/books/lifeCare/view/chapter001.vue | 5 +++-- 1 files changed, 3 insertions(+), 2 deletions(-) diff --git a/src/books/lifeCare/view/chapter001.vue b/src/books/lifeCare/view/chapter001.vue index 8b84b15..99521c7 100644 --- a/src/books/lifeCare/view/chapter001.vue +++ b/src/books/lifeCare/view/chapter001.vue @@ -1408,13 +1408,14 @@ components: { examinations, }, - created() { + async created() { const localData = JSON.parse(localStorage.getItem("chapter001")); if (localData) { this.chapter001 = { ...Object.assign(this.chapter001, localData) }; } + this.chapter001.videOneUrl = getResourcePath("68ebd5c05bcb742999a9ebdce4b4bd53"); - this.chapter001.qustionData = await getQuestionData('1',testData[1]); + this.chapter001.qustionData = await getQuestionData('1',testData[1],this.config.activeBook); }, methods: { activityOne() { -- Gitblit v1.9.1