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
b66e2495
Commit
b66e2495
authored
Jul 29, 2022
by
皮倩雯
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: '数据库初始化界面访问检查加载loading效果'
parent
da6f5f6b
Pipeline
#56582
passed with stages
Changes
1
Pipelines
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
DatabaseInitialization.jsx
...atabase/databaseInitialization/DatabaseInitialization.jsx
+2
-1
No files found.
src/pages/database/databaseInitialization/DatabaseInitialization.jsx
View file @
b66e2495
...
@@ -46,7 +46,6 @@ import {
...
@@ -46,7 +46,6 @@ import {
import
{
BarcodeOutlined
,
EditOutlined
}
from
'@ant-design/icons'
;
import
{
BarcodeOutlined
,
EditOutlined
}
from
'@ant-design/icons'
;
import
styles
from
'./DatabaseInitialization.less'
;
import
styles
from
'./DatabaseInitialization.less'
;
import
styles1
from
'../InitDataBase/InitDataBase.less'
;
import
styles1
from
'../InitDataBase/InitDataBase.less'
;
import
{
objectOf
}
from
'prop-types'
;
const
CheckboxGroup
=
Checkbox
.
Group
;
const
CheckboxGroup
=
Checkbox
.
Group
;
const
{
Option
}
=
Select
;
const
{
Option
}
=
Select
;
...
@@ -580,7 +579,9 @@ const DatabaseInitialization = props => {
...
@@ -580,7 +579,9 @@ const DatabaseInitialization = props => {
let
obj
=
form
.
getFieldsValue
();
let
obj
=
form
.
getFieldsValue
();
GetDbChange
();
GetDbChange
();
deleteInitDBLogNew
();
deleteInitDBLogNew
();
setCardLoading
(
true
);
CheckDatabaseIsExist
({
...
obj
}).
then
(
res
=>
{
CheckDatabaseIsExist
({
...
obj
}).
then
(
res
=>
{
setCardLoading
(
false
);
if
(
res
.
code
==
0
)
{
if
(
res
.
code
==
0
)
{
// 数据库不存在
// 数据库不存在
if
(
res
.
data
===
false
)
{
if
(
res
.
data
===
false
)
{
...
...
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