|
@@ -154,11 +154,13 @@ export default {
|
|
|
return item.uid == file.uid
|
|
|
})
|
|
|
if (a != -1) {
|
|
|
- this.files.splice(a, 1, file.raw)
|
|
|
+ this.files=[file.raw]
|
|
|
this.form.fileGuid = file.guid
|
|
|
}
|
|
|
|
|
|
// this.handleConfirm()
|
|
|
+ }else{
|
|
|
+ this.files = [file.raw]
|
|
|
}
|
|
|
},
|
|
|
handleConfirm() {
|