From 79e3161b7736e0b117fbc96650a39e34ffa9351c Mon Sep 17 00:00:00 2001 From: 刘有才luck <14606842+liu-youcai-luck@user.noreply.gitee.com> Date: Thu, 12 Dec 2024 14:06:58 +0800 Subject: [PATCH] feat: bug修复 --- src/views/basic/askTestQuestion/components/wrongQuestionDialog.vue | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/views/basic/askTestQuestion/components/wrongQuestionDialog.vue b/src/views/basic/askTestQuestion/components/wrongQuestionDialog.vue index 19de2e6..bb70ace 100644 --- a/src/views/basic/askTestQuestion/components/wrongQuestionDialog.vue +++ b/src/views/basic/askTestQuestion/components/wrongQuestionDialog.vue @@ -466,6 +466,10 @@ export default { this.userId + "question", JSON.stringify(this.groups) ); + localStorage.setItem( + this.userId + "input", + JSON.stringify(this.inputValue) + ); }, // 单题title修改 @@ -548,10 +552,6 @@ export default { }, handleMouseLeave() { this.isHovered = false; - localStorage.setItem( - this.userId + "input", - JSON.stringify(this.inputValue) - ); }, getFormattedDate() { -- libgit2 0.21.4