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() {