Pārlūkot izejas kodu

20250209 优化调整

贾小兵 2 nedēļas atpakaļ
vecāks
revīzija
ed9619b367

+ 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;
                             }
                         }