|
@@ -504,7 +504,11 @@ export default {
|
|
|
const index = this.uploadListForUI.findIndex((eachItem) => {
|
|
|
return eachItem.uid === uid
|
|
|
})
|
|
|
- this.uploadListForUI[index].abortHandler.abort()
|
|
|
+ if (this.uploadListForUI[index].status === 'LOADING') {
|
|
|
+ this.uploadListForUI[index].abortHandler.abort()
|
|
|
+ } else {
|
|
|
+ this.uploadListForUI.splice(index, 1)
|
|
|
+ }
|
|
|
},
|
|
|
getMoreMaterialItem(islongpolling = null) {
|
|
|
this.isRequestingMoreData = true
|