From 6e0bf2758a62b5a3869e1247b064684e55db9731 Mon Sep 17 00:00:00 2001 From: kylin L <452061493@qq.com> Date: Tue, 19 Mar 2024 15:17:32 +0800 Subject: [PATCH] =?UTF-8?q?=E8=A7=86=E9=A2=91=E7=AD=94=E9=A2=98=E5=AF=B9?= =?UTF-8?q?=E6=AF=94=E4=B8=8D=E5=8C=BA=E5=88=86=E5=A4=A7=E5=B0=8F=E5=86=99?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- components/s-video/res-s-video.vue | 4 +++- components/s-video/s-video.vue | 2 +- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/components/s-video/res-s-video.vue b/components/s-video/res-s-video.vue index 27cc5e3..c468b78 100644 --- a/components/s-video/res-s-video.vue +++ b/components/s-video/res-s-video.vue @@ -65,6 +65,7 @@ isError: false, resCheck: false, isResVideo: false, + innerAudioContext: null, failUrl: uni.$http.baseUrl +"/profile//images/fail.gif", }; }, @@ -106,6 +107,7 @@ this.videoContext = uni.createVideoContext("video_play"); this.videoContext.requestFullScreen(); + // this.queryQAByFreId(); }, methods: { @@ -182,7 +184,7 @@ // 先提交所选答案 if(null!=obj) { // 判断答题是否正确 - if(this.correct == obj.channel.slice(0, 1)) { + if(this.correct.toUpperCase() == obj.channel.slice(0, 1).toUpperCase()) { // 控制选中答案单条显示对错 this.$set(obj, 'choose', 'true'); isCorrect = 1 diff --git a/components/s-video/s-video.vue b/components/s-video/s-video.vue index 3ccd281..8cb2ff4 100644 --- a/components/s-video/s-video.vue +++ b/components/s-video/s-video.vue @@ -199,7 +199,7 @@ // 先提交所选答案 if (null != obj) { // 判断答题是否正确 - if (this.correct == obj.channel.slice(0, 1)) { + if(this.correct.toUpperCase() == obj.channel.slice(0, 1).toUpperCase()) { // 控制选中答案单条显示对错 this.$set(obj, 'choose', 'true'); isCorrect = 1