修复 api 前缀

This commit is contained in:
whyour
2023-09-29 16:26:03 +08:00
parent 2a41f64d1b
commit 4c19054b30
3 changed files with 9 additions and 7 deletions
+1 -1
View File
@@ -253,7 +253,7 @@ const Other = ({
method="put"
showUploadList={false}
maxCount={1}
action="/api/system/data/import"
action={`${config.apiPrefix}system/data/import`}
onChange={(e) => {
if (e.event?.percent) {
showUploadProgress(parseFloat(e.event?.percent.toFixed(1)));