This commit is contained in:
sjl
2026-01-12 14:01:43 +08:00
parent e65df4daad
commit 20e6d3719a
7 changed files with 7 additions and 8 deletions

View File

@@ -91,8 +91,10 @@ const submit = () => {
formRef.value.validate(async (valid: boolean) => {
if (valid) {
if (urlList.value.length > 0) {
const promises = urlList.value.map(async (item: any) => {
if (urlList.value[0].raw) {
return new Promise((resolve, reject) => {
uploadFile(item.raw, '/supervision/')
.then((res: any) => {