修复别名错误
This commit is contained in:
@@ -5,7 +5,7 @@ export default {
|
|||||||
"merchant.portal.product-category.parent_id": "上级分类",
|
"merchant.portal.product-category.parent_id": "上级分类",
|
||||||
"merchant.portal.product-category.name": "分类名称",
|
"merchant.portal.product-category.name": "分类名称",
|
||||||
"merchant.portal.product-category.name.required": "分类名称不能为空",
|
"merchant.portal.product-category.name.required": "分类名称不能为空",
|
||||||
"merchant.portal.product-category.slug": "别名",
|
"merchant.portal.product-category.slug": "标识",
|
||||||
"merchant.portal.product-category.icon": "图标",
|
"merchant.portal.product-category.icon": "图标",
|
||||||
"merchant.portal.product-category.description": "描述",
|
"merchant.portal.product-category.description": "描述",
|
||||||
"merchant.portal.product-category.sort": "排序",
|
"merchant.portal.product-category.sort": "排序",
|
||||||
|
|||||||
@@ -30,18 +30,19 @@ const Table: React.FC = () => {
|
|||||||
required: true,
|
required: true,
|
||||||
rules: [{ required: true, message: t('merchant.portal.product-category.name.required') }],
|
rules: [{ required: true, message: t('merchant.portal.product-category.name.required') }],
|
||||||
},
|
},
|
||||||
{
|
|
||||||
title: t('merchant.portal.product-category.parent_id'),
|
|
||||||
dataIndex: 'parent_id',
|
|
||||||
valueType: 'text',
|
|
||||||
align: 'center',
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
title: t('merchant.portal.product-category.slug'),
|
title: t('merchant.portal.product-category.slug'),
|
||||||
dataIndex: 'slug',
|
dataIndex: 'slug',
|
||||||
valueType: 'text',
|
valueType: 'text',
|
||||||
align: 'center',
|
align: 'center',
|
||||||
hideInSearch: true,
|
hideInSearch: true,
|
||||||
|
rules: [{ required: true }],
|
||||||
|
},
|
||||||
|
{
|
||||||
|
title: t('merchant.portal.product-category.parent_id'),
|
||||||
|
dataIndex: 'parent_id',
|
||||||
|
valueType: 'text',
|
||||||
|
align: 'center',
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
title: t('merchant.portal.product-category.icon'),
|
title: t('merchant.portal.product-category.icon'),
|
||||||
|
|||||||
Reference in New Issue
Block a user