vue中最新版插槽的使用
<el-table-column label="问题状态" align="center" prop="status">
<template slot-scope="scope">
<span>{{scope.row.status==0?'待整改':(scope.row.status==1?'已整改':'已关闭')}}</span>
</template>
</el-table-column>
<el-table-column label="问题状态" align="center" prop="status">
<template #default={row}>
<span>{{row.status==0?"待整改":(row.status==1?"已整改":"已关闭")}}</span>
</template>
</el-table-column>