perf: 公告发布: 默认供应商为自选

main
Lei OT 5 months ago
parent b9b23184da
commit 6691ae60a0

@ -23,7 +23,7 @@ const Edit = ({ ...props }) => {
const clickedButton = useRef('');
const quillRef = useRef();
const [showAgencySelector, setShowAgencySelector] = useState(0);
const [showAgencySelector, setShowAgencySelector] = useState(1);
const [showAgencySeleted, setShowAgencySeleted] = useState(0);
// const [noticeInfo, setNoticeInfo] = useState({});
@ -131,7 +131,7 @@ const Edit = ({ ...props }) => {
</Form.Item>
<Form.Item noStyle>
<Space.Compact className='w-full'>
<Form.Item name='target' label='公告区域' className='w-1/3' rules={[{ required: true }]}>
<Form.Item name='target' label='公告区域' initialValue={{value: '_list', label: '我自己选'}} className='w-1/3' rules={[{ required: true }]}>
<Select placeholder='请选择公告区域' labelInValue>
<Select.Option value='all'>所有</Select.Option>
<Select.Option value='domestic'>国内</Select.Option>

Loading…
Cancel
Save