<el-table
ref="refTable"
:data="NormDistributeData"
v-loading="loading"
:tree-props="{ children: 'children', hasChildren: 'hasChildren' }"
:row-key="rowKeyFunc"
default-expand-all
:expand-row-keys="expands"
>
--------------------------------------------------
rowKeyFunc(row){
if(row.normId){
return row.normId
}
return row.classId
},