mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/fe-manage.git
synced 2025-12-07 09:56:44 +08:00
面授开课没有作业导入提示,不显示导入信息
This commit is contained in:
@@ -254,6 +254,16 @@ export default {
|
||||
console.log("查询导入状态", res);
|
||||
if (res.data.code === 200) {
|
||||
if (res.data.data.status !== "START") {
|
||||
if(res.data.data.status === "SUCCESS"){
|
||||
state.addLoading = false;
|
||||
state.fileList = [];
|
||||
state.uploadpercent = -1;
|
||||
message.destroy();
|
||||
message.error(`当前开课暂无作业,无法导入成绩`);
|
||||
clearInterval(timer);
|
||||
clearTimeout(timeouts);
|
||||
return;
|
||||
}
|
||||
i++;
|
||||
if (i === 1) {
|
||||
message.destroy();
|
||||
|
||||
Reference in New Issue
Block a user