From b92717cfdde396e2da28913d28743c92cb452ffd Mon Sep 17 00:00:00 2001 From: fanfan Date: Mon, 1 Jul 2024 21:42:05 +0800 Subject: [PATCH] =?UTF-8?q?=E7=BB=86=E8=8A=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/merchantTutorial/tutorial.vue | 16 +++++++++++----- 1 file changed, 11 insertions(+), 5 deletions(-) diff --git a/pages/merchantTutorial/tutorial.vue b/pages/merchantTutorial/tutorial.vue index fd3f9d4..c6e096b 100644 --- a/pages/merchantTutorial/tutorial.vue +++ b/pages/merchantTutorial/tutorial.vue @@ -17,7 +17,8 @@ bar-width="55" bar-height="6" :current="current" @change="change"> - + @@ -76,7 +77,7 @@ onLookCord(url) { if (url) { this.show = true; - let videoContext = wx.createVideoContext('myVideo') + let videoContext = wx.createVideoContext('myVideo') videoContext.seek(0); this.video_url = url } else { @@ -91,7 +92,7 @@ data } = await api.courseType(); if (status == 200) { - this.courseTypeList = data.courseTypes?data.courseTypes:[] + this.courseTypeList = data.courseTypes ? data.courseTypes : [] this.getCourseList() } else { this.courseTypeList = [] @@ -120,7 +121,11 @@ } } - +