fix: 修改bug

This commit is contained in:
leiqiaochu 2023-07-15 22:12:56 +08:00
parent c35120f4d3
commit 81524133ae
1 changed files with 2 additions and 0 deletions

View File

@ -181,6 +181,8 @@ const uploadChange = async (info: Record<string, any>) => {
if (info.file.status === 'done') { if (info.file.status === 'done') {
const resp: any = info.file.response || { result: '' }; const resp: any = info.file.response || { result: '' };
await submitData(resp?.result || ''); await submitData(resp?.result || '');
}else{
disabled.value = false;
} }
}; };
</script> </script>