From c30954de22f1840122c35c7d7c6a5e513b3272c4 Mon Sep 17 00:00:00 2001 From: 闫增涛 <1829501689@qq.com> Date: 星期四, 06 六月 2024 15:18:16 +0800 Subject: [PATCH] 优化 --- src/components/matching/matching.vue | 9 ++------- 1 files changed, 2 insertions(+), 7 deletions(-) diff --git a/src/components/matching/matching.vue b/src/components/matching/matching.vue index bc1023a..15dd62d 100644 --- a/src/components/matching/matching.vue +++ b/src/components/matching/matching.vue @@ -341,13 +341,7 @@ }); } this.isRight = this.areArraysEqual(this.item.userChoise,answerArr) - this.item.showAnswer = true - // console.log( - // "绛旀", - // answerArr, - // this.item.userChoise, - // this.isRight - // ); + this.isShowAnswer =true }, // 鑾峰彇褰撳墠椤电爜 handlePage() { @@ -396,6 +390,7 @@ } this.leftArr this.drawing() + this.isShowAnswer = false } }, }; -- Gitblit v1.9.1