拆分详情增加图片
This commit is contained in:
@@ -31,7 +31,7 @@
|
||||
|
||||
export default {
|
||||
name: 'file',
|
||||
props: ['disableds', 'disabled', 'thisFileUploadUrl', 'readonly', 'thisFileType','accept','title','listType','splitVisible'],
|
||||
props: ['disableds', 'disabled', 'thisFileUploadUrl', 'readonly', 'thisFileType','title','listType','splitVisible'],
|
||||
data() {
|
||||
return {
|
||||
visible: false,
|
||||
@@ -42,7 +42,8 @@
|
||||
myfileList: [],
|
||||
isLoding: false,
|
||||
headers:'',
|
||||
previewImage:{}
|
||||
previewImage:{},
|
||||
accept:'image/*'
|
||||
}
|
||||
},
|
||||
created() {
|
||||
@@ -148,6 +149,7 @@
|
||||
}
|
||||
})
|
||||
this.$emit('uploadSuccess', this.fileList,fileList)
|
||||
console.log('uplossss',this.fileList,fileList)
|
||||
if (this.myfileList.length > 0) {
|
||||
this.$message.destroy()
|
||||
this.$message.success(`${info.file.name} `+this.$t('uploadSuccessful'))
|
||||
|
||||
Reference in New Issue
Block a user