|
@@ -108,7 +108,7 @@ const ModalApp: React.FC<Props> = ({ appAllList, userList, apptypeEnum, onChange
|
|
|
{(fields, { add, remove }) => {
|
|
|
return <>
|
|
|
{fields.map(({ key, name, ...restField }) => (
|
|
|
- <Space key={key} style={{ display: 'flex', marginBottom: 8, width: '100%' }} align="center">
|
|
|
+ <Space key={key} style={{ display: 'flex', marginBottom: 8, width: '100%' }} align="start">
|
|
|
<Form.Item
|
|
|
{...restField}
|
|
|
label={<strong>应用类型</strong>}
|
|
@@ -129,7 +129,7 @@ const ModalApp: React.FC<Props> = ({ appAllList, userList, apptypeEnum, onChange
|
|
|
<Form.Item
|
|
|
{...restField}
|
|
|
label={<strong>应用</strong>}
|
|
|
- name={[name, 'iaaAppId']}
|
|
|
+ name={[name, 'iaaAppIdList']}
|
|
|
rules={[{ required: true, message: '请选选择应用' }]}
|
|
|
>
|
|
|
<Select
|
|
@@ -137,6 +137,7 @@ const ModalApp: React.FC<Props> = ({ appAllList, userList, apptypeEnum, onChange
|
|
|
showSearch
|
|
|
allowClear
|
|
|
placeholder="选择应用"
|
|
|
+ mode="multiple"
|
|
|
filterOption={(input, option) =>
|
|
|
(option?.label as any)?.toLowerCase().indexOf(input.toLowerCase()) >= 0
|
|
|
}
|