shop_vue/src/views/plus/groupbuy/product/index.vue
@@ -42,8 +42,8 @@ <el-table-column prop="total_sales" label="销量" width="100" /> <el-table-column prop="status" label="状态" width="100"> <template slot-scope="scope"> <el-tag :type="scope.row.status === 10 ? 'success' : 'danger'"> {{ scope.row.status === 10 ? '启用' : '禁用' }} <el-tag :type="scope.row.status === 0 ? 'success' : 'danger'"> {{ scope.row.status === 0 ? '启用' : '禁用' }} </el-tag> </template> </el-table-column>