From b59635388a2dd501a82aad56d0faaf14a321d0c7 Mon Sep 17 00:00:00 2001 From: foliet <1843619244@qq.com> Date: Sun, 3 Dec 2023 13:24:12 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=B8=80=E4=BA=9Bbug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../CommunityAdmin/DriedFish/components/Create/index.tsx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/pages/CommunityAdmin/DriedFish/components/Create/index.tsx b/src/pages/CommunityAdmin/DriedFish/components/Create/index.tsx index e8da47f..226e76b 100644 --- a/src/pages/CommunityAdmin/DriedFish/components/Create/index.tsx +++ b/src/pages/CommunityAdmin/DriedFish/components/Create/index.tsx @@ -3,9 +3,9 @@ import { fetchCatList } from '@/services/cat'; import { createPlan } from '@/services/dried-fish'; import { QuestionCircleOutlined } from '@ant-design/icons'; import { DrawerForm, ProFormText, ProFormTextArea } from '@ant-design/pro-components'; -import { Form, InputNumber, Select, Tooltip, DatePicker, Radio } from 'antd'; -import { useState } from 'react'; +import { DatePicker, Form, InputNumber, Radio, Select, Tooltip } from 'antd'; import moment from 'moment'; +import { useState } from 'react'; const { RangePicker } = DatePicker; @@ -22,7 +22,7 @@ const Create = ({ open, setCreateVisible, actionRef }: any) => { const data = { ...value, id: '', - onlyCommunityId: localStorage.getItem('communityId'), + communityId: localStorage.getItem('communityId'), coverUrl: value?.coverUrl?.[0], startTime, endTime,