修改穿上接口地址,反了
This commit is contained in:
@ -56,7 +56,7 @@ const FileUpload: React.FC<FileUploadProps> = ({
|
|||||||
tip,
|
tip,
|
||||||
action,
|
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 intl = useIntl();
|
||||||
const [fileList, setFileList] = useState<UploadFile[]>([]);
|
const [fileList, setFileList] = useState<UploadFile[]>([]);
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user