[update] 修改bug80750

This commit is contained in:
lideqin
2024-02-05 17:54:56 +08:00
parent 8ebe8503e8
commit 6f77f6504a
+6
View File
@@ -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 }
},
// 标准选择变化