Commit 4e39b661 authored by Maofei94's avatar Maofei94

perf: 去除console

parent e1d252d3
Pipeline #23372 skipped with stages
......@@ -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(
......
......@@ -35,7 +35,6 @@ const DatabaseConnectConfig = props => {
const [active, setActive] = useState('0');
const handleChange = e => {
console.log(e);
setActive(e);
};
......
......@@ -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: {
......
......@@ -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();
......
......@@ -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();
......
......@@ -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();
......
......@@ -98,7 +98,6 @@ const SQLServerTable = props => {
setVisible(true);
};
const onSubmit = prop => {
console.log(prop);
setVisible(false);
setFlag(flag + 1);
};
......
......@@ -108,7 +108,7 @@ const EditForm = props => {
rules={[
{
required: true,
message: '请输入访问路由',
message: '请输入访问路由,ip加端口号,示例//localhost:3001/',
},
]}
>
......
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