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