|
@@ -147,6 +147,7 @@ export default {
|
|
|
// 图片上传成功的回调
|
|
|
handleAvatarSuccess(response, file, fileList) {
|
|
|
this.arr.push({ name: file.name, url: 'http:' + file.response.url })
|
|
|
+ this.uptataKey.push({ name: file.name, url: 'http:' + file.response.url })
|
|
|
this.dis = false
|
|
|
},
|
|
|
|
|
@@ -165,13 +166,6 @@ export default {
|
|
|
this.data.splice(e, 1)
|
|
|
},
|
|
|
|
|
|
- // 图片上传成功的回调(编辑)
|
|
|
- constractSuccUpload(response, file, fileList) {
|
|
|
- this.dis = false
|
|
|
- this.uptataKey.push({ name: file.name, url: 'http:' + file.response.url })
|
|
|
- console.log(this.uptataKey)
|
|
|
- },
|
|
|
-
|
|
|
// 删除附件(编辑)
|
|
|
deleteURL(vel) {
|
|
|
var arr = this.uptataKey.filter(item => {
|