|
@@ -46,7 +46,7 @@ const ActivityManagement: React.FC = () => {
|
|
|
|
|
|
const [iconUrl, setIconUrl] = useState<string>('');
|
|
|
|
|
|
- console.log('currentActivity', currentActivity);
|
|
|
+ // console.log('currentActivity', currentActivity);
|
|
|
|
|
|
const columns: ProColumns<API.NewActivityItem>[] = [
|
|
|
{
|
|
@@ -240,14 +240,14 @@ const ActivityManagement: React.FC = () => {
|
|
|
name: 'file',
|
|
|
listType: 'picture-card',
|
|
|
}}
|
|
|
- // onChange={(info) => {
|
|
|
- // const { status } = info.file;
|
|
|
- // if (status === 'done') {
|
|
|
- // message.success('图标上传成功');
|
|
|
- // } else if (status === 'error') {
|
|
|
- // message.error('图标上传失败');
|
|
|
- // }
|
|
|
- // }}
|
|
|
+ // onChange={(info) => {
|
|
|
+ // const { status } = info.file;
|
|
|
+ // if (status === 'done') {
|
|
|
+ // message.success('图标上传成功');
|
|
|
+ // } else if (status === 'error') {
|
|
|
+ // message.error('图标上传失败');
|
|
|
+ // }
|
|
|
+ // }}
|
|
|
/>
|
|
|
<ProFormDigit name="order" label="排序" min={0} initialValue={0} />
|
|
|
<ProFormSwitch name="isActive" label="是否激活" initialValue={true} />
|