Commit e765c3bf by Mufei Committed by GitHub

Update useSelectFile.tsx (#524)

修复知识库选择文件onChange事件遇到有http请求时无法响应的bug
parent 933c3fdf
...@@ -34,7 +34,7 @@ export const useSelectFile = (props?: { ...@@ -34,7 +34,7 @@ export const useSelectFile = (props?: {
/> />
</Box> </Box>
), ),
[fileType, maxCount, multiple, t, toast] [fileType, maxCount, multiple]
); );
const onOpen = useCallback(() => { const onOpen = useCallback(() => {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment