<el-table-column label="状态" align="center" min-width="120">
<template slot-scope="scope">
<span v-if="scope.row.status == '0' ">正常</span>
<span v-if="scope.row.status == '1' ">禁用</span>
</template>
</el-table-column>
table中数字转换成文字
最新推荐文章于 2024-06-01 14:41:33 发布