修复图片、文件上传组件的上传文件类型属性编辑器错误。

This commit is contained in:
vdpAdmin
2022-05-11 17:25:30 +08:00
parent 78a0e45e9e
commit be7d23cddf
7 changed files with 15 additions and 14 deletions

View File

@ -152,6 +152,10 @@ export default {
subFormModel.splice(0, subFormModel.length)
this.rowIdData.splice(0, this.rowIdData.length)
}
if (this.widget.options.showBlankRow) {
this.addSubFormRow()
}
}
},

View File

@ -150,6 +150,11 @@
return this.rowIdData
},
getWidgetRefOfSubForm(widgetName, rowIndex) {
let realWidgetName = widgetName + '@row' + this.rowIdData[rowIndex]
return this.getWidgetRef(realWidgetName)
},
initFieldSchemaData() { //初始化fieldSchemaData
if (this.widget.type !== 'sub-form') {
return