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
4e39b661
Commit
4e39b661
authored
Feb 02, 2021
by
Maofei94
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
perf: 去除console
parent
e1d252d3
Pipeline
#23372
skipped with stages
Changes
8
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
5 additions
and
22 deletions
+5
-22
ManagementDataBase.jsx
src/pages/database/ManagementDataBase.jsx
+0
-2
DatabaseConfig.jsx
src/pages/database/databaseConfig/DatabaseConfig.jsx
+0
-1
AddModal.jsx
src/pages/database/databaseConfig/mongDB/AddModal.jsx
+1
-3
AddModal.jsx
src/pages/database/databaseConfig/mysqltable/AddModal.jsx
+1
-5
AddModal.jsx
src/pages/database/databaseConfig/oracle/AddModal.jsx
+1
-4
AddModal.jsx
src/pages/database/databaseConfig/sqlServer/AddModal.jsx
+1
-5
SQLServerTable.jsx
...ages/database/databaseConfig/sqlServer/SQLServerTable.jsx
+0
-1
editForm.jsx
src/pages/webConfig/components/editForm.jsx
+1
-1
No files found.
src/pages/database/ManagementDataBase.jsx
View file @
4e39b661
...
...
@@ -50,7 +50,6 @@ const ManagementDataBase = () => {
item
.
key
=
index
;
return
item
;
});
console
.
log
(
arr
);
setAutoCheckList
(
arr
);
setCheckList
(
arr2
);
}
...
...
@@ -118,7 +117,6 @@ const ManagementDataBase = () => {
});
};
const
handleLog
=
(
text
,
val
)
=>
{
console
.
log
(
text
);
setModalTitle
(
val
);
let
arr
=
[];
arr
.
push
(
...
...
src/pages/database/databaseConfig/DatabaseConfig.jsx
View file @
4e39b661
...
...
@@ -35,7 +35,6 @@ const DatabaseConnectConfig = props => {
const
[
active
,
setActive
]
=
useState
(
'0'
);
const
handleChange
=
e
=>
{
console
.
log
(
e
);
setActive
(
e
);
};
...
...
src/pages/database/databaseConfig/mongDB/AddModal.jsx
View file @
4e39b661
...
...
@@ -104,9 +104,7 @@ const AddModal = props => {
:
setShowReplicaSet
(
false
);
};
},
[
visible
]);
useEffect
(()
=>
{
console
.
log
(
form
.
getFieldsValue
(),
'103'
);
},
[
type
===
'edit'
]);
useEffect
(()
=>
{},
[
type
===
'edit'
]);
const
layout
=
{
layout
:
'horizontal'
,
labelCol
:
{
...
...
src/pages/database/databaseConfig/mysqltable/AddModal.jsx
View file @
4e39b661
...
...
@@ -8,7 +8,6 @@ import {
const
{
Item
}
=
Form
;
const
{
Option
}
=
Select
;
const
AddModal
=
props
=>
{
console
.
log
(
props
);
const
{
callBackSubmit
=
()
=>
{},
type
,
formObj
,
visible
}
=
props
;
const
[
loading
,
setLoading
]
=
useState
(
false
);
const
[
form
]
=
Form
.
useForm
();
...
...
@@ -80,11 +79,8 @@ const AddModal = props => {
})
.
catch
(
err
=>
setLoading
(
false
));
};
const
onFinish
=
value
=>
{
console
.
log
(
value
,
'value'
);
};
const
onFinish
=
value
=>
{};
useEffect
(()
=>
{
console
.
log
(
type
);
switch
(
type
)
{
case
'add'
:
form
.
resetFields
();
...
...
src/pages/database/databaseConfig/oracle/AddModal.jsx
View file @
4e39b661
...
...
@@ -79,11 +79,8 @@ const AddModal = props => {
})
.
catch
(
err
=>
setLoading
(
false
));
};
const
onFinish
=
value
=>
{
console
.
log
(
value
,
'value'
);
};
const
onFinish
=
value
=>
{};
useEffect
(()
=>
{
console
.
log
(
type
);
switch
(
type
)
{
case
'add'
:
form
.
resetFields
();
...
...
src/pages/database/databaseConfig/sqlServer/AddModal.jsx
View file @
4e39b661
...
...
@@ -8,7 +8,6 @@ import {
const
{
Item
}
=
Form
;
const
{
Option
}
=
Select
;
const
AddModal
=
props
=>
{
console
.
log
(
props
);
const
{
callBackSubmit
=
()
=>
{},
type
,
formObj
,
visible
}
=
props
;
const
[
loading
,
setLoading
]
=
useState
(
false
);
const
[
form
]
=
Form
.
useForm
();
...
...
@@ -80,11 +79,8 @@ const AddModal = props => {
})
.
catch
(
err
=>
setLoading
(
false
));
};
const
onFinish
=
value
=>
{
console
.
log
(
value
,
'value'
);
};
const
onFinish
=
value
=>
{};
useEffect
(()
=>
{
console
.
log
(
type
);
switch
(
type
)
{
case
'add'
:
form
.
resetFields
();
...
...
src/pages/database/databaseConfig/sqlServer/SQLServerTable.jsx
View file @
4e39b661
...
...
@@ -98,7 +98,6 @@ const SQLServerTable = props => {
setVisible
(
true
);
};
const
onSubmit
=
prop
=>
{
console
.
log
(
prop
);
setVisible
(
false
);
setFlag
(
flag
+
1
);
};
...
...
src/pages/webConfig/components/editForm.jsx
View file @
4e39b661
...
...
@@ -108,7 +108,7 @@ const EditForm = props => {
rules=
{
[
{
required
:
true
,
message
:
'请输入访问路由'
,
message
:
'请输入访问路由
,ip加端口号,示例//localhost:3001/
'
,
},
]
}
>
...
...
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