mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/fe-student.git
synced 2025-12-08 18:36:48 +08:00
fix:作业首次上传问题修改
This commit is contained in:
@@ -550,9 +550,12 @@ const handleClick = () => {
|
||||
taskId: taskId || infoId,
|
||||
workScore: -1
|
||||
}).then((res) => {
|
||||
console.log(res);
|
||||
submitList.value.unshift(res.data);
|
||||
submitList.value.length!==0&&submitList.value.unshift(res.data);
|
||||
open();
|
||||
submitList.value = useRequest(TASK_WORK_SUBMIT_LIST, {
|
||||
workerId: workId,
|
||||
type
|
||||
}).data;
|
||||
sbValue.value.content = "";
|
||||
fileList.value = [];
|
||||
remove(0);
|
||||
|
||||
Reference in New Issue
Block a user