Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
C
CivManage
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
ReactWeb5
CivManage
Commits
a01b8a62
Commit
a01b8a62
authored
4 years ago
by
Maofei94
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: 增加初始化请求时间间隔
parent
d788f593
Pipeline
#23042
passed with stages
in 19 minutes 59 seconds
Changes
1
Pipelines
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
0 deletions
+3
-0
InitDataBase.jsx
src/pages/database/InitDataBase.jsx
+3
-0
No files found.
src/pages/database/InitDataBase.jsx
View file @
a01b8a62
...
...
@@ -104,6 +104,7 @@ const InitDataBase = props => {
if
(
res
.
allSqlDir
.
some
(
item
=>
item
===
inUse
))
{
setDefaultSqlDir
(
res
.
tableSQLDirName
);
}
else
{
// 默认切换到第一个产品方案
handeleChangeSQLDirName
(
res
.
allSqlDir
[
0
]);
setDefaultSqlDir
(
res
.
allSqlDir
[
0
]);
}
...
...
@@ -133,7 +134,9 @@ const InitDataBase = props => {
scroll
.
current
.
scrollTop
=
scroll
.
current
.
scrollHeight
;
}
if
(
!
res
.
finish
)
{
setTimeout
(()
=>
{
doInitLog
();
},
600
);
}
}
})
...
...
This diff is collapsed.
Click to expand it.
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