|
|
@ -149,7 +149,6 @@ export default { |
|
|
|
// 删除时方法 |
|
|
|
// 删除时方法 |
|
|
|
handelDelete(file, fileList) { |
|
|
|
handelDelete(file, fileList) { |
|
|
|
console.log('删除接口', this.filePath, file, fileList) |
|
|
|
console.log('删除接口', this.filePath, file, fileList) |
|
|
|
this.$emit('fileChange','') |
|
|
|
|
|
|
|
this.filePath = '' |
|
|
|
this.filePath = '' |
|
|
|
}, |
|
|
|
}, |
|
|
|
clearImages() { |
|
|
|
clearImages() { |
|
|
@ -160,7 +159,7 @@ export default { |
|
|
|
// 上传成功 |
|
|
|
// 上传成功 |
|
|
|
handleSuccess(response, file) { |
|
|
|
handleSuccess(response, file) { |
|
|
|
this.value.push(response.fileName) |
|
|
|
this.value.push(response.fileName) |
|
|
|
this.$emit('fileChange',this.upfileName) |
|
|
|
// this.$emit('fileChange',this.upfileName) |
|
|
|
// this.filePath='' |
|
|
|
// this.filePath='' |
|
|
|
// this.handelDelete() |
|
|
|
// this.handelDelete() |
|
|
|
}, |
|
|
|
}, |
|
|
|