This commit is contained in:
2026-07-20 11:45:16 +08:00
parent 6bcbdbe892
commit 96d153ac6d
7 changed files with 15 additions and 6 deletions

View File

@@ -292,13 +292,14 @@
fileType: 'image',
name: 'file'
}).then(res => {
console.log('res', res)
// app.orderSourceData.push(res.data.url)
if(app.orderSourceData[id-1]){
app.orderSourceData.splice(id-1, 1, res.data.url)
} else {
app.orderSourceData.push(res.data.url)
}
console.log('app.orderSourceData', app.orderSourceData)
})
}