Skip to content

Commit

Permalink
状态同一为禁用
Browse files Browse the repository at this point in the history
  • Loading branch information
z1hui committed Sep 1, 2022
1 parent 2a645db commit d2c6820
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ export default {
seq: 'seq',
normal: 'normal',
offline: 'Off shelf',
disable: 'disable',
recommImgSize: 'Carousel pictures',
categoryParent: 'Category parent',
categoryNoNull: 'Category name cannot be empty',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ export default {
seq: '排序',
normal: '正常',
offline: '下架',
disable: '禁用',
recommImgSize: '建议图片尺寸为',
categoryParent: '上级分类',
categoryNoNull: '分类名称不能为空',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
<!-- 状态 -->
<el-table-column label="状态" prop="status" align="center">
<template slot-scope="{row}">
<el-tag v-if="row.status === 0" size="small" type="danger">{{ $t("product.category.offline") }}</el-tag>
<el-tag v-if="row.status === 0" size="small" type="danger">{{ $t("product.category.disable") }}</el-tag>
<el-tag v-else size="small">{{ $t("product.category.normal") }}</el-tag>
</template>
</el-table-column>
Expand Down

0 comments on commit d2c6820

Please sign in to comment.