From c3a97e9da90ab1a34f766acd35944d295cc5a6bf Mon Sep 17 00:00:00 2001 From: unknown <qq1940665526@163.com> Date: 星期三, 05 六月 2024 13:41:00 +0800 Subject: [PATCH] 优化 --- src/books/lifeCare/view/chapter005.vue | 30 +++++++++++++++--------------- 1 files changed, 15 insertions(+), 15 deletions(-) diff --git a/src/books/lifeCare/view/chapter005.vue b/src/books/lifeCare/view/chapter005.vue index 69e4c2b..860ef6b 100644 --- a/src/books/lifeCare/view/chapter005.vue +++ b/src/books/lifeCare/view/chapter005.vue @@ -3102,7 +3102,7 @@ </div> </template> <script> -import getResourcePath from "@/assets/methods/resources.js"; +import {getResourcePath} from "@/assets/methods/resources.js"; import examinations from "@/components/examinations/index.vue"; import { getFileMd5, getPublicImage } from "../js/tool.js"; import drawflow from "@/components/drawflow"; @@ -3559,26 +3559,26 @@ if (localData) { this.chapter005 = { ...Object.assign(this.chapter005, localData) }; } - this.chapter005.videOneUrl = getResourcePath( + this.chapter005.videOneUrl = await getResourcePath( "439b0bde62a5098875c77e2492676577" ); - this.chapter005.videoTwoUrl = getResourcePath( + this.chapter005.videoTwoUrl = await getResourcePath( "1a878261410b01ee8e4e0602a1fe935f" ); - this.chapter005.videoFourUrl = getResourcePath( + this.chapter005.videoFourUrl = await getResourcePath( "6cf2619beb704b3d79de04f0775c8ba3" ); - this.chapter005.videoFiveUrl = getResourcePath( + this.chapter005.videoFiveUrl = await getResourcePath( "8400384441ad9236d5eab24f500ec2c7" ); - this.chapter005.videOneUrl = - "https://jsek.bnuic.com/file/api/ApiDownload?md5=439b0bde62a5098875c77e2492676577"; - this.chapter005.videoTwoUrl = - "https://jsek.bnuic.com/file/api/ApiDownload?md5=1a878261410b01ee8e4e0602a1fe935f"; - this.chapter005.videoFourUrl = - "https://jsek.bnuic.com/file/api/ApiDownload?md5=6cf2619beb704b3d79de04f0775c8ba3"; - this.chapter005.videoFiveUrl = - "https://jsek.bnuic.com/file/api/ApiDownload?md5=8400384441ad9236d5eab24f500ec2c7"; + // this.chapter005.videOneUrl = + // "https://jsek.bnuic.com/file/api/ApiDownload?md5=439b0bde62a5098875c77e2492676577"; + // this.chapter005.videoTwoUrl = + // "https://jsek.bnuic.com/file/api/ApiDownload?md5=1a878261410b01ee8e4e0602a1fe935f"; + // this.chapter005.videoFourUrl = + // "https://jsek.bnuic.com/file/api/ApiDownload?md5=6cf2619beb704b3d79de04f0775c8ba3"; + // this.chapter005.videoFiveUrl = + // "https://jsek.bnuic.com/file/api/ApiDownload?md5=8400384441ad9236d5eab24f500ec2c7"; }, methods: { activityOne() { @@ -3749,8 +3749,8 @@ if (type == "3") { that.chapter005.pictrueListThree.push(getPublicImage(e)); } - that.isLoding = false; - localStorage.setItem("chapter005", JSON.stringify(this.chapter005)); + that.$emit('Upload_initViewer',"") + localStorage.setItem("chapter005", JSON.stringify(that.chapter005)); }, 1000); }) .catch((e) => { -- Gitblit v1.9.1