fix:作业首次上传问题修改

This commit is contained in:
wyx
2023-03-28 15:15:17 +08:00
parent a3a8b71018
commit ff7886d0a3

View File

@@ -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);