修改bug
This commit is contained in:
parent
dbd60f639f
commit
a94cd4abf3
@ -31,7 +31,7 @@
|
||||
<el-form-item label="上传要求:">
|
||||
<div style="line-height: 20px;padding-top: 10px">
|
||||
<div>请知悉!</div>
|
||||
<div>请上传图片或pdf材料,单个文件需要在0KB以上,50MB以内;文件名称中请勿包含换行符、空格、tab#&V:?"#*|&"<>%+'等特色字符。</div>
|
||||
<div>请上传图片或pdf材料,单个文件需要在0KB以上,50MB以内;文件名称中请勿包含换行符、空格、tab&V:?"#*|&"<>%+'等特色字符。</div>
|
||||
<div>文件名称不超过45个字</div>
|
||||
</div>
|
||||
</el-form-item>
|
||||
@ -108,9 +108,14 @@ export default {
|
||||
objectName: item.objectName
|
||||
}
|
||||
})
|
||||
this.repaymentObj.url = this.fileList.length?this.fileList[0].fileName : '';
|
||||
this.repaymentObj.name = this.fileList.length?this.fileList[0].objectName : '';
|
||||
// console.log(this.repaymentObj, '---this.repaymentObj', this.fileList)
|
||||
if (!this.$verify.specialChar(this.repaymentObj.name)) {
|
||||
this.$message.error('文件名称包含非法字符,请重新上传!')
|
||||
return false
|
||||
}
|
||||
this.repaymentObj.url = this.fileList.length?this.fileList[0].fileName : '';
|
||||
|
||||
console.log(this.repaymentObj, '---this.repaymentObj', this.fileList)
|
||||
},
|
||||
handleClose() {
|
||||
this.$emit('update:eventDialog', null)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user