前端打包

This commit is contained in:
liu
2026-09-05 14:05:16 +08:00
parent 5c7a5829af
commit 364471a086
5 changed files with 26 additions and 25 deletions
+22 -21
View File
@@ -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',