소스 검색

优化用户体验

lideyin 5 년 전
부모
커밋
21fcf5b58b
1개의 변경된 파일8개의 추가작업 그리고 0개의 파일을 삭제
  1. 8 0
      src/modules/examwork/view/notice.vue

+ 8 - 0
src/modules/examwork/view/notice.vue

@@ -967,6 +967,10 @@ export default {
           this.toggleExamSelection(
             this.examTableData.find(p => p.id == exam.id)
           );
+          this.examTableData.splice(
+            this.examTableData.findIndex(p => p.id == exam.id),
+            1
+          );
           this.selectedExam.splice(index, 1);
         }
       }
@@ -977,6 +981,10 @@ export default {
           this.toggleMarkSelection(
             this.markTableData.find(p => p.id == mark.id)
           );
+          this.markTableData.splice(
+            this.markTableData.findIndex(p => p.id == mark.id),
+            1
+          );
           this.selectedMark.splice(index, 1);
         }
       }