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/childHealth/view/content/components/chapter005.vue | 14 +++++++++----- 1 files changed, 9 insertions(+), 5 deletions(-) diff --git a/src/books/childHealth/view/content/components/chapter005.vue b/src/books/childHealth/view/content/components/chapter005.vue index d142fd7..8282584 100644 --- a/src/books/childHealth/view/content/components/chapter005.vue +++ b/src/books/childHealth/view/content/components/chapter005.vue @@ -2734,6 +2734,10 @@ showPageList: { type: Array, }, + isSearch: { + type: Boolean, + default: false, + }, }, data() { return { @@ -2875,13 +2879,13 @@ JSON.stringify(this.chapterFiveData) ); }, - getVideoPath() { - this.$data.pathOne = getResourcePath("5698398be3f5c7fdb247218b2a687257"); - this.$data.pathTwo = getResourcePath("5905673b09837c74953dd11fcb27d123"); - this.$data.pathThree = getResourcePath( + async getVideoPath() { + this.$data.pathOne = await getResourcePath("5698398be3f5c7fdb247218b2a687257"); + this.$data.pathTwo = await getResourcePath("5905673b09837c74953dd11fcb27d123"); + this.$data.pathThree = await getResourcePath( "1f768157227c193ed5c11f972f66e692" ); - this.$data.pathFour = getResourcePath("4f446d88ec1ed081a172b7130dce896b"); + this.$data.pathFour = await getResourcePath("4f446d88ec1ed081a172b7130dce896b"); }, }, }; -- Gitblit v1.9.1