소스 검색

20250209 优化调整

贾小兵 2 달 전
부모
커밋
ed9619b367
2개의 변경된 파일2개의 추가작업 그리고 0개의 파일을 삭제
  1. 1 0
      public/assets/js/backend/student/collection.js
  2. 1 0
      public/assets/js/backend/student/practice.js

+ 1 - 0
public/assets/js/backend/student/collection.js

@@ -89,6 +89,7 @@ define(['jquery', 'bootstrap', 'backend', 'table', 'form'], function ($, undefin
                                 window.location.href = '/admin/student/collection/examing/ids/'+Config.exam_id;
                             }else{
                                 Layer.alert(data.msg);
+                                Layer.close(index);
                                 return;
                             }
                         }

+ 1 - 0
public/assets/js/backend/student/practice.js

@@ -106,6 +106,7 @@ define(['jquery', 'bootstrap', 'backend', 'table', 'form'], function ($, undefin
                                 window.location.href = '/admin/student/practice/examing/ids/'+Config.exam_id;
                             }else{
                                 Layer.alert(data.msg);
+                                Layer.close(index);
                                 return;
                             }
                         }