diff --git a/src/components/drawers/ExportScore.vue b/src/components/drawers/ExportScore.vue index 3c3f18c4..c06a1061 100644 --- a/src/components/drawers/ExportScore.vue +++ b/src/components/drawers/ExportScore.vue @@ -298,6 +298,12 @@ export default { console.log("查询导入状态失败", err); }); }, 500); + setTimeout(() => { + clearInterval(timer) + state.addLoading = false; + message.destroy(); + message.error(`文件导入超时`); + }, 30000); } else if (status === "error") { state.uploadErr = true; message.error(`${info.file.name}上传失败`);