前端打包
This commit is contained in:
+22
-21
@@ -294,13 +294,30 @@ const ProductGoodsPage: React.FC = () => {
|
||||
];
|
||||
|
||||
const columns: XinTableColumn<IProduct>[] = [
|
||||
// {
|
||||
// title: 'ID',
|
||||
// dataIndex: 'id',
|
||||
// hideInForm: true,
|
||||
// hideInSearch: true,
|
||||
// width: 70,
|
||||
// align: 'center',
|
||||
// },
|
||||
{
|
||||
title: 'ID',
|
||||
dataIndex: 'id',
|
||||
hideInForm: true,
|
||||
hideInSearch: true,
|
||||
width: 70,
|
||||
title: '商品名称',
|
||||
align: 'center',
|
||||
dataIndex: 'name',
|
||||
valueType: 'text',
|
||||
colProps: { span: 24 },
|
||||
required: true,
|
||||
render: (_, record) => {
|
||||
return (
|
||||
<div>
|
||||
<div className={"mb-1.5"}>{ record.name }</div>
|
||||
<div className={"text-[#999] text-[12px]"}>{ record.remark }</div>
|
||||
</div>
|
||||
)
|
||||
},
|
||||
rules: [{ required: true, message: '请输入商品名称' }],
|
||||
},
|
||||
{
|
||||
title: '商品图片',
|
||||
@@ -335,22 +352,6 @@ const ProductGoodsPage: React.FC = () => {
|
||||
hideInSearch: true,
|
||||
colProps: { span: 24 },
|
||||
},
|
||||
{
|
||||
title: '商品名称',
|
||||
dataIndex: 'name',
|
||||
valueType: 'text',
|
||||
colProps: { span: 24 },
|
||||
required: true,
|
||||
render: (_, record) => {
|
||||
return (
|
||||
<div>
|
||||
<div className={"mb-1.5"}>{ record.name }</div>
|
||||
<div className={"text-[#999] text-[12px]"}>{ record.remark }</div>
|
||||
</div>
|
||||
)
|
||||
},
|
||||
rules: [{ required: true, message: '请输入商品名称' }],
|
||||
},
|
||||
{
|
||||
title: '商品描述',
|
||||
dataIndex: 'remark',
|
||||
|
||||
Reference in New Issue
Block a user