如题
<el-table-column :label="'专业'" prop="Major" sortable="custom" width="150">
<template slot-scope="scope">
{{ scope.row.Major }}
</template>
</el-table-column>
以上是可行数据,排序实现
<el-table-column :label="'学历'" prop="Staff.Degree" sortable="custom" width="100">
<template slot-scope="scope">
{{ scope.row.Staff.Degree | translateParameter('Hr.EnumDegree') }}
</template>
</el-table-column>
失败,因为是子属性,如何处理???