vue系列---【vue+element 三元表达式多条件实现功能】

<el-table-column min-width="80" prop="invChecked" label="审核状态" align="center">

  <template slot-scope = "scope">

    <span>{{scope.row.invChecked === '0' ?'未审核' : (scope.row.invChecked === '1 ?'已审核':(scope.row.invChecked === '2' ? '已审核':”"))}}</span>

  </template>

</el-table-column>

 

posted on 2021-12-02 13:56  码农小小海  阅读(508)  评论(0编辑  收藏  举报

导航