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
bf10662d
Commit
bf10662d
authored
3 years ago
by
皮倩雯
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
数据库mongodb添加功能失效解决
parent
7880e6f8
master
dev-database
dev-solution
dev-达梦
styleEditBranch
No related merge requests found
Pipeline
#36866
skipped with stages
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
2 deletions
+4
-2
AddModal.jsx
src/pages/database/databaseConfig/mongDB/AddModal.jsx
+1
-2
AddUserModal.jsx
src/pages/userCenter/userManage/AddUserModal.jsx
+3
-0
No files found.
src/pages/database/databaseConfig/mongDB/AddModal.jsx
View file @
bf10662d
...
...
@@ -21,7 +21,6 @@ const AddModal = props => {
if
(
type
===
'add'
)
{
AddConnString
({
Type
:
'mongodb'
,
MongoDbType
:
'mongodb'
,
...
obj
,
})
.
then
(
res
=>
{
...
...
@@ -149,7 +148,7 @@ const AddModal = props => {
<
Form
form=
{
form
}
{
...
layout
}
onFinish=
{
onFinish
}
>
<
Item
label=
"实例类型"
name=
"
t
ype"
name=
"
MongoDbT
ype"
rules=
{
[{
required
:
true
,
message
:
'请选择实例类型'
}]
}
>
<
Select
onChange=
{
e
=>
handleSelect
(
e
)
}
>
...
...
This diff is collapsed.
Click to expand it.
src/pages/userCenter/userManage/AddUserModal.jsx
View file @
bf10662d
...
...
@@ -103,6 +103,7 @@ const AddUserModal = props => {
cancelText=
"取消"
>
<
Form
form=
{
addUserForm
}
labelCol=
{
{
span
:
4
}
}
>
<
span
style=
{
{
position
:
'absolute'
,
left
:
'1%'
,
top
:
'21%'
,
color
:
'red'
,
fontSize
:
'16px'
}
}
>
*
</
span
>
<
Form
.
Item
hasFeedback
name=
"loginName"
...
...
@@ -117,6 +118,7 @@ const AddUserModal = props => {
>
<
Input
placeholder=
"登录名称不支持中文"
/>
</
Form
.
Item
>
<
span
style=
{
{
position
:
'absolute'
,
left
:
'1%'
,
top
:
'35%'
,
color
:
'red'
,
fontSize
:
'16px'
}
}
>
*
</
span
>
<
Form
.
Item
hasFeedback
name=
"password"
...
...
@@ -134,6 +136,7 @@ const AddUserModal = props => {
>
<
Input
placeholder=
"请输入账户密码,至少6位"
/>
</
Form
.
Item
>
<
span
style=
{
{
position
:
'absolute'
,
left
:
'1%'
,
top
:
'49%'
,
color
:
'red'
,
fontSize
:
'16px'
}
}
>
*
</
span
>
<
Form
.
Item
hasFeedback
name=
"userName"
...
...
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