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
a3fbb117
Commit
a3fbb117
authored
Sep 07, 2022
by
皮倩雯
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
数据库初始化优化
parent
6ec08a58
Pipeline
#59471
passed with stages
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
2 deletions
+11
-2
AppendModal.jsx
src/pages/database/databaseInitialization/AppendModal.jsx
+11
-2
No files found.
src/pages/database/databaseInitialization/AppendModal.jsx
View file @
a3fbb117
...
...
@@ -143,7 +143,9 @@ const AppendModal = props => {
};
const
Submit
=
()
=>
{
callBackSubmit
();
if
(
allValue
.
length
>
0
)
{
callBackSubmit
();
}
};
const
title
=
e
=>
{
...
...
@@ -157,6 +159,13 @@ const AppendModal = props => {
return
aa
.
length
;
};
const
title1
=
()
=>
{
if
(
allValue
.
length
==
0
)
{
return
<
span
style=
{
{
color
:
'red'
}
}
>
license下产品已全被初始化,无需再次追加!!!
</
span
>;
}
return
<
span
style=
{
{
color
:
'rgb(24 144 255)'
}
}
>
是否确认追加!
</
span
>;
};
return
(
<
Modal
title=
"产品追加"
...
...
@@ -174,7 +183,7 @@ const AppendModal = props => {
<
Button
onClick=
{
onCancel
}
>
取消
</
Button
>
<
Popconfirm
placement=
"topLeft"
title=
{
<
span
style=
{
{
color
:
'rgb(24 144 255)'
}
}
>
是否确认追加!
</
span
>
}
title=
{
title1
}
okText=
"确认"
cancelText=
"取消"
onConfirm=
{
()
=>
{
...
...
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