Commit bf10662d authored by 皮倩雯's avatar 皮倩雯

数据库mongodb添加功能失效解决

parent 7880e6f8
Pipeline #36866 skipped with stages
......@@ -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="type"
name="MongoDbType"
rules={[{ required: true, message: '请选择实例类型' }]}
>
<Select onChange={e => handleSelect(e)}>
......
......@@ -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"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment