소스 검색

202508121 考试交接逻辑调整

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

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

@@ -304,13 +304,13 @@ define(['jquery', 'bootstrap', 'backend', 'table', 'form'], function ($, undefin
                             if(data.code==200 ){
                                 $("#update-form").submit();
                             }else{
-                                Layer.close(index);
                                 Layer.alert(data.msg);
                             }
                         });
                     }else{
                         $("#update-form").submit();
                     }
+                    Layer.closeAll();
                 });
             });