[update] 修改bug80750
This commit is contained in:
@@ -649,13 +649,19 @@ export default {
|
||||
// 文件上传改变后的回调
|
||||
uploadFileChange (data) {
|
||||
const attIdList = []
|
||||
const attNameList = []
|
||||
if (data && data.length > 0) {
|
||||
data.map(item => {
|
||||
attIdList.push(item.id)
|
||||
})
|
||||
data.map(item => {
|
||||
attNameList.push(item.fileName)
|
||||
})
|
||||
}
|
||||
console.log(data)
|
||||
/** 赋值给当前对应的表单文件 */
|
||||
this.formInline[this.uploadName] = attIdList.join(',')
|
||||
this.formInline[this.uploadName + '_dictText'] = attNameList.join(',')
|
||||
this.formInline = { ...this.formInline }
|
||||
},
|
||||
// 标准选择变化
|
||||
|
||||
Reference in New Issue
Block a user