做项目时发现使用elementUI的table的sortable排序结果不正确
可以加个sort-method事件
<el-table-column
sortable
:sort-method="(a,b)=>{return a.lawsuit - b.lawsuit}"
prop="lawsuit"
label="金额"
show-overflow-tooltip>
</el-table-column>