Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
phsl
/
new-api
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
Commit
57194951
authored
Mar 17, 2024
by
CaIon
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: 修复日志翻页问题 (close #122)
parent
5d6d811d
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
1 additions
and
1 deletions
+1
-1
service/midjourney.go
+0
-0
web/src/components/LogsTable.js
+1
-1
No files found.
service/midjourney.go
View file @
57194951
web/src/components/LogsTable.js
View file @
57194951
...
@@ -265,7 +265,7 @@ const LogsTable = () => {
...
@@ -265,7 +265,7 @@ const LogsTable = () => {
setActivePage
(
page
);
setActivePage
(
page
);
if
(
page
===
Math
.
ceil
(
logs
.
length
/
pageSize
)
+
1
)
{
if
(
page
===
Math
.
ceil
(
logs
.
length
/
pageSize
)
+
1
)
{
// In this case we have to load more data and then append them.
// In this case we have to load more data and then append them.
loadLogs
(
page
-
1
,
pageSize
).
then
(
r
=>
{
loadLogs
(
page
-
1
,
pageSize
,
logType
).
then
(
r
=>
{
});
});
}
}
};
};
...
...
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