Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
赵月辉
/
fastgpt-migrated
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Members
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Unverified
Commit
6eeb1b4d
authored
Jul 29, 2024
by
Archer
Committed by
GitHub
Jul 29, 2024
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
perf: dataset upload process render (#2191)
parent
b6c9bb4a
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
2 deletions
+3
-2
projects/app/src/pages/dataset/detail/components/Import/components/FileSelector.tsx
+2
-1
projects/app/src/pages/dataset/detail/components/Import/diffSource/FileLocal.tsx
+1
-1
No files found.
projects/app/src/pages/dataset/detail/components/Import/components/FileSelector.tsx
View file @
6eeb1b4d
...
...
@@ -111,7 +111,8 @@ const FileSelector = ({
?
{
...
item
,
dbFileId
:
uploadFileId
,
isUploading
:
false
isUploading
:
false
,
uploadedFileRate
:
100
}
:
item
)
...
...
projects/app/src/pages/dataset/detail/components/Import/diffSource/FileLocal.tsx
View file @
6eeb1b4d
...
...
@@ -49,7 +49,7 @@ const SelectFile = React.memo(function SelectFile() {
const
onclickNext
=
useCallback
(()
=>
{
// filter uploaded files
setSelectFiles
((
state
)
=>
state
.
filter
((
item
)
=>
(
item
.
uploadedFileRate
||
0
)
>=
100
));
setSelectFiles
((
state
)
=>
state
.
filter
((
item
)
=>
item
.
dbFileId
));
goToNext
();
},
[
goToNext
]);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment