|
@@ -146,11 +146,13 @@ async function updateTask() {
|
|
|
res = await getOneOfStuTask();
|
|
|
}
|
|
|
void message.success({
|
|
|
- content: res.data.studentId ? "获取成功" : "无任务",
|
|
|
+ content:
|
|
|
+ res.data.studentId && !res.data.inspectTime ? "获取成功" : "无任务",
|
|
|
key: mkey,
|
|
|
});
|
|
|
|
|
|
- if (res.data.studentId) {
|
|
|
+ // if (res.data.studentId) {
|
|
|
+ if (res.data.studentId && !res.data.inspectTime) {
|
|
|
let rawTask = res.data;
|
|
|
store.currentTask = addFileServerPrefixToTask(rawTask);
|
|
|
if (res.data.subject) {
|