From 6486b1f44de87dc6f60388e10e9a65ae206df120 Mon Sep 17 00:00:00 2001 From: YM <479443481@qq.com> Date: 星期五, 07 六月 2024 10:50:30 +0800 Subject: [PATCH] 1 --- src/books/childHealth/view/content/components/chapter010.vue | 8 ++++---- 1 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/books/childHealth/view/content/components/chapter010.vue b/src/books/childHealth/view/content/components/chapter010.vue index e32c629..2715bc8 100644 --- a/src/books/childHealth/view/content/components/chapter010.vue +++ b/src/books/childHealth/view/content/components/chapter010.vue @@ -1353,7 +1353,7 @@ <script> import examinations from "@/components/examinations/index.vue"; -import getResourcePath from "@/assets/methods/resources"; +import {getResourcePath} from "@/assets/methods/resources"; export default { name: "chapterTen", components: { examinations }, @@ -1465,9 +1465,9 @@ JSON.stringify(this.chapterTenData) ); }, - getVideoPath() { - this.$data.pathOne = getResourcePath("3f507f73eb9d8c2af4dfcfb032ae696e"); - this.$data.pathTwo = getResourcePath("93d4edcc8ef4f947ebfb0cee38ccaa71"); + async getVideoPath() { + this.$data.pathOne = await getResourcePath("3f507f73eb9d8c2af4dfcfb032ae696e"); + this.$data.pathTwo = await getResourcePath("93d4edcc8ef4f947ebfb0cee38ccaa71"); }, }, }; -- Gitblit v1.9.1