Browse Source

批量上传五秒后获取学生数据

11wqe1 2 tuần trước cách đây
mục cha
commit
7fd0e13626
1 tập tin đã thay đổi với 3 bổ sung1 xóa
  1. 3 1
      src/components/pages/studentManage/student.vue

+ 3 - 1
src/components/pages/studentManage/student.vue

@@ -1052,7 +1052,9 @@ export default {
                   message: "新增成功",
                   type: "success",
                 });
-                _this.getStudent();
+                setTimeout(() => {
+                  _this.getStudent();
+                }, 5000);
               }
               loading.close();
             })