Explorar o código

优化用户体验

lideyin %!s(int64=5) %!d(string=hai) anos
pai
achega
21fcf5b58b
Modificáronse 1 ficheiros con 8 adicións e 0 borrados
  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);
         }
       }