From 304689614daa96595aeeeed8e46e5dfa992ef2df Mon Sep 17 00:00:00 2001 From: unknown <qq1940665526@163.com> Date: 星期一, 17 六月 2024 17:33:33 +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