Parcourir la source

延长错误显示时间

Michael Wang il y a 3 ans
Parent
commit
76743f5181
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. 1 1
      src/features/admin/confirmPaper/ConfirmPaper.vue

+ 1 - 1
src/features/admin/confirmPaper/ConfirmPaper.vue

@@ -279,7 +279,7 @@ async function getStudent(studentId: number) {
   currentImage = 0;
 
   if (!stu.success) {
-    void message.error(stu.message);
+    void message.error(stu.message, 24 * 60 * 60);
     dataError = true;
 
     throw new Error("取学生信息出错: " + stu.message);