| | |
| | | const hideModal = () => { |
| | | setOpen(false); |
| | | }; |
| | | const [uploadedFileId, setUploadedFileId] = useState<string>(""); |
| | | const [uploadedFileIds, setUploadedFileIds] = useState<string[]>([]); // 改为数组存储 |
| | | const [botTypeId, setBotTypeId] = useState<number>(0); // 新增 botTypeId 状态 |
| | | |
| | |
| | | server: { |
| | | proxy: { |
| | | '^/api': { |
| | | target: 'http://192.168.31.110:8080/', |
| | | // target: 'http://47.92.122.77:8080/', |
| | | // target: 'http://192.168.31.110:8080/', |
| | | target: 'http://47.92.122.77:8080/', |
| | | }, |
| | | '^/attachment/': { |
| | | // target: 'http://47.92.122.77:8080/static/', |
| | | target: 'http://192.168.31.110:8080/static/', |
| | | target: 'http://47.92.122.77:8080/static/', |
| | | // target: 'http://192.168.31.110:8080/static/', |
| | | }, |
| | | }, |
| | | }, |