deason 2 년 전
부모
커밋
b044b786b1
1개의 변경된 파일4개의 추가작업 그리고 3개의 파일을 삭제
  1. 4 3
      src/modules/oe/views/examDetail.vue

+ 4 - 3
src/modules/oe/views/examDetail.vue

@@ -604,7 +604,7 @@ export default {
     });
   },
   beforeRouteLeave(to, from, next) {
-    to.params.checkedRows = this.selectedIds;
+    to.params.checkedRows = this.routeSelectedIds;
     next();
   },
   data() {
@@ -612,6 +612,7 @@ export default {
       isOnlineExam: false,
       needShowReAudit: false,
       selectedIds: [],
+      routeSelectedIds: [],
       disciplineTypeList: [],
       total: 0,
       tableLoading: false,
@@ -864,8 +865,8 @@ export default {
       );
     },
     gotoCaptureDetail(row) {
-      this.selectedIds = [];
-      this.selectedIds.push(row.dataId);
+      this.routeSelectedIds = [];
+      this.routeSelectedIds.push(row.dataId);
       this.$refs["multipleTable"]?.toggleRowSelection(row, true);
       this.$nextTick(() => {
         /** checkbox UI选中状态延迟 */