20260720
This commit is contained in:
@@ -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)
|
||||
})
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user