太原网站制作定制开发,icp网站,台州服务网站,万网网站编辑目录
一、代码展示
二、返回的数组对象不含value或者ispass#xff0c;不会报错
三、插槽里面放的是要手动输入的值时 一、代码展示 el-table v-loadingloading :datachecklistList selection-changehandleSelectionChange不会报错
三、插槽里面放的是要手动输入的值时 一、代码展示 el-table v-loadingloading :datachecklistList selection-changehandleSelectionChangeel-table-column label值 aligncenter class-namesmall-padding fixed-width width120 fixedrighttemplate slot-scopescopeel-input v-modelscope.row.value placeholder请输入 clearable/el-input/template/el-table-columnel-table-column label通过率 aligncenter class-namesmall-padding fixed-width width120 fixedrighttemplate slot-scopescopeel-select v-modelscope.row.ispass placeholder请选择 clearableel-option v-for(item, index) in options :keyindex :labelitem.label :valueitem.value/el-option/el-select/template/el-table-column
/el-table
二、返回的数组对象不含value或者ispass不会报错 三、插槽里面放的是要手动输入的值时 1、返回的数据checklistList数组当中每行都不含字段ispass和value时往scope.row.value和scope.row.value 中输入值并提交得到的每行都有ispass和value字段的数组对象。