xiatian 5 年之前
父节点
当前提交
12cfe4c53d
共有 1 个文件被更改,包括 3 次插入1 次删除
  1. 3 1
      src/modules/examwork/view/examStudent.vue

+ 3 - 1
src/modules/examwork/view/examStudent.vue

@@ -1287,7 +1287,9 @@ export default {
               message: "保存成功"
             });
             this.addingStudentDialog = false;
-            this.searchForm();
+            if (this.formSearch.examId) {
+              this.searchForm();
+            }
           });
         } else {
           return false;