怎么获取子表单特定行的某一个特定组件的数据?
给你一个设置值的参考,formGroupId是行的id,设置子表单值变化的动作,然后打印一下差不多就能体会到,获取值你可以试试getComponentProps(formGroupId, 'selectField_lbk4l7ca')行不行。
const tableField = this.$('tableField_lbk4l7c9');
tableField.setComponentProps(formGroupId, 'selectField_lbk4l7ca', { dataSource: this.selectOptions(result, 'textField_lbk4c6v0') });
赞207
踩1