|
@@ -68,7 +68,10 @@ const ExchangeItemManagement: React.FC = () => {
|
|
|
{
|
|
|
title: '所需积分',
|
|
|
dataIndex: 'points',
|
|
|
- sorter: true,
|
|
|
+ },
|
|
|
+ {
|
|
|
+ title: '排序',
|
|
|
+ dataIndex: 'order',
|
|
|
},
|
|
|
// {
|
|
|
// title: '图标',
|
|
@@ -244,6 +247,7 @@ const ExchangeItemManagement: React.FC = () => {
|
|
|
label="所需积分"
|
|
|
rules={[{ required: true, message: '请输入所需积分' }]}
|
|
|
/>
|
|
|
+ <ProFormDigit name="order" label="排序" min={0} initialValue={0} />
|
|
|
<ProFormUploadButton
|
|
|
name="logo"
|
|
|
label="图标"
|
|
@@ -316,6 +320,7 @@ const ExchangeItemManagement: React.FC = () => {
|
|
|
label="所需积分"
|
|
|
rules={[{ required: true, message: '请输入所需积分' }]}
|
|
|
/>
|
|
|
+ <ProFormDigit name="order" label="排序" min={0} />
|
|
|
<ProFormUploadButton
|
|
|
name="logo"
|
|
|
label="图标"
|