修改穿上接口地址,反了

This commit is contained in:
linxd
2025-07-04 14:22:17 +08:00
parent d3566d852e
commit e2962e09e7

View File

@ -56,7 +56,7 @@ const FileUpload: React.FC<FileUploadProps> = ({
tip,
action,
}) => {
const actionUrl = action ? `${UPLOAD_URL}${action}` : `${UPLOAD_URL}/api/files/upload`;
const actionUrl = action ? `${UPLOAD_URL}${action}` : `${UPLOAD_URL}/fileConfig/files/upload`;
const intl = useIntl();
const [fileList, setFileList] = useState<UploadFile[]>([]);