|
@@ -78,7 +78,7 @@ const ModalApp: React.FC<Props> = ({ appAllList, userList, onChange, visible, on
|
|
|
allowClear
|
|
|
placeholder="选择应用"
|
|
|
filterOption={(input, option) =>
|
|
|
- (option?.children as any)?.toLowerCase().indexOf(input.toLowerCase()) >= 0
|
|
|
+ (option?.label as any)?.toLowerCase().indexOf(input.toLowerCase()) >= 0
|
|
|
}
|
|
|
options={appAllList}
|
|
|
/>
|
|
@@ -117,7 +117,7 @@ const ModalApp: React.FC<Props> = ({ appAllList, userList, onChange, visible, on
|
|
|
allowClear
|
|
|
placeholder="选择应用"
|
|
|
filterOption={(input, option) =>
|
|
|
- (option?.children as any)?.toLowerCase().indexOf(input.toLowerCase()) >= 0
|
|
|
+ (option?.label as any)?.toLowerCase().indexOf(input.toLowerCase()) >= 0
|
|
|
}
|
|
|
options={appAllList}
|
|
|
/>
|