From cc7bbbd9b6a859235c9985cc09836effc1157fe8 Mon Sep 17 00:00:00 2001 From: YM <479443481@qq.com> Date: 星期五, 07 六月 2024 10:51:38 +0800 Subject: [PATCH] Merge branch 'master' of http://182.92.203.7:2001/r/testbookLayout --- src/books/lifeCare/view/chapter001.vue | 22 ++++++++++++++-------- 1 files changed, 14 insertions(+), 8 deletions(-) diff --git a/src/books/lifeCare/view/chapter001.vue b/src/books/lifeCare/view/chapter001.vue index 5a6deb5..7cc997c 100644 --- a/src/books/lifeCare/view/chapter001.vue +++ b/src/books/lifeCare/view/chapter001.vue @@ -1005,7 +1005,7 @@ <td> <input v-model="chapter001.table112.cell58" - @blur="onBlurChangeTable112('cell58')" + @blur="onBlurChangeTable112('cell581')" /> </td> <td> @@ -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() { -- Gitblit v1.9.1