Commit 79e3161b7736e0b117fbc96650a39e34ffa9351c

Authored by 刘有才luck
1 parent 097f457f

feat: bug修复

src/views/basic/askTestQuestion/components/wrongQuestionDialog.vue
... ... @@ -466,6 +466,10 @@ export default {
466 466 this.userId + "question",
467 467 JSON.stringify(this.groups)
468 468 );
  469 + localStorage.setItem(
  470 + this.userId + "input",
  471 + JSON.stringify(this.inputValue)
  472 + );
469 473 },
470 474  
471 475 // 单题title修改
... ... @@ -548,10 +552,6 @@ export default {
548 552 },
549 553 handleMouseLeave() {
550 554 this.isHovered = false;
551   - localStorage.setItem(
552   - this.userId + "input",
553   - JSON.stringify(this.inputValue)
554   - );
555 555 },
556 556  
557 557 getFormattedDate() {
... ...