Skip to content

Commit

Permalink
测试上传接口,需要给一个api属性,要不然会报错
Browse files Browse the repository at this point in the history
  • Loading branch information
wwsheng009 committed Feb 4, 2023
1 parent b23ed6e commit 8bac887
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,8 @@ const Index = (props: IPropsStep1) => {
multiple: false,
maxCount: 1,
desc: '拖入或点击上传 Excel、CSV 文件',
one_file: true
one_file: true,
api: "/api/storage/upload"
}}
></X>
</Form>
Expand Down

0 comments on commit 8bac887

Please sign in to comment.