原因:
1、el-table绑定的数据:data必须是el-from绑定的数据子对象。若el-form绑定的是checkForm,el-table绑定的必须是checkForm.xxxxList
2、el-form-item中prop绑定的数据必须是eltable绑定数据的对象名称,:prop只能是:'xxxxList.' + scope.$index + '.proName' "
我这次是因为把具体的字段展示前面添加了formInline;删除就好了
解决代码:
<el-table-column prop="yearElectricity" label="">
<template slot="header">
<p>年电量</p>
</template>
<template slot-scope=