elementui table中判断属性
<el-table-column label="状态" min-width="80px" :show-overflow-tooltip="true" > <template slot-scope="scope"> {{ scope.row.status == 0 ? "正常" : "已禁用" }} </template> </el-table-column>
<el-table-column label="状态" min-width="80px" :show-overflow-tooltip="true" > <template slot-scope="scope"> {{ scope.row.status == 0 ? "正常" : "已禁用" }} </template> </el-table-column>