(e: any, type: string)
| 32 | setCustomList({ ...customList, [type]: e.target.value }) |
| 33 | } |
| 34 | const onChangeSwitch = (e: any, type: string) => { |
| 35 | if (type === 'customUrl') { |
| 36 | setIsCustomUrl(e) |
| 37 | } else { |
| 38 | setCustomList({ ...customList, isAutoApi: e }) |
| 39 | } |
| 40 | } |
| 41 | return ( |
| 42 | <Modal |
| 43 | title='下载' |