前端打包
This commit is contained in:
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
+1
-1
@@ -5,7 +5,7 @@
|
||||
<link rel="icon" type="image/svg+xml" href="/favicons.svg" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
||||
<title>XinAdmin</title>
|
||||
<script type="module" crossorigin src="/assets/index-B3rYtk3Q.js"></script>
|
||||
<script type="module" crossorigin src="/assets/index-wuX9SPpH.js"></script>
|
||||
<link rel="modulepreload" crossorigin href="/assets/rolldown-runtime-BgaNhQyE.js">
|
||||
<link rel="modulepreload" crossorigin href="/assets/jsx-runtime-CRBytmvs.js">
|
||||
<link rel="modulepreload" crossorigin href="/assets/chunk-KS7C4IRE-Zm15rq6F.js">
|
||||
|
||||
+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