<el-table-column label="是否修好" align="center" prop="isRepaired">
<template slot-scope="scope">
<span v-if="scope.row.isRepaired == '1'"
>已完成</span
>
<span v-if="scope.row.isRepaired == '2'"
>未完成</span
>
</template>
</el-table-column>
VUE中数字 转中文
最新推荐文章于 2024-04-10 10:37:55 发布