Commit 0b02dc6d authored by 熊成伟's avatar 熊成伟

debug

parent 30bc8392
Pipeline #16652 failed with stages
in 35 seconds
......@@ -3,7 +3,7 @@ import './index.less'
const Index = (props) => {
const data = props.data;
console.log(data)
// console.log(data)
return (
<div className="address-box">
{data && data.length > 0 && data.map((item, index) => item.XM && (
......
......@@ -37,7 +37,7 @@ const TreeData = (props) => {
useEffect(() => {
setSGood(peopleData)
}, [peopleData]);
console.log(sGood);
// console.log(sGood);
const getProps = (data) => (
......
......@@ -41,7 +41,7 @@ const Footer = (props) => {
const url = props.location.pathname;
url.indexOf('/bord/backlog') > -1 && setCurrent('backlog');
url.indexOf('/bord/work') > -1 && setCurrent('work');
url.indexOf('/bord/addressList') > -1 && setCurrent('addressList');
url.indexOf('/bord/address') > -1 && setCurrent('addressList');
url.indexOf('/bord/notice') > -1 && setCurrent('notice');
}, [props]);
......
......@@ -191,7 +191,7 @@ const Process = (props) => {
dealInfo: JSON.stringify({BLYJ: blyj, flowTbId}),
params: JSON.stringify({UUID: uuid})}
}).then(res => {
console.log(res)
// console.log(res)
});
}
......
......@@ -38,12 +38,6 @@ const Send = (props) => {
const [personVisible, setPersonVisible] = useState(false);
const [loading, setLoading] = useState(false);
const mqMedia = window.matchMedia('(orientation: portrait)');
useEffect(() => {
console.log(mqMedia, mqMedia.matches)
},[]);
return (
<Document title="请假申请">
<WingBlank>
......
......@@ -13,7 +13,7 @@ const Send = (props) => {
const {getFieldProps} = props.form;
const [loading, setLoading] = useState(false);
console.log(loading)
// console.log(loading)
const onSubmit = () => {
props.form.validateFields({ force: true }, (error) => {
......
......@@ -49,7 +49,7 @@ const Send = (props) => {
const [upload, setUpload] = useState([]);
const uploadChange = (files, type, index) => {
console.log(files, type, index)
// console.log(files, type, index)
setUpload(files)
}
......
......@@ -119,7 +119,7 @@ const Send = (props) => {
},
payload: formData
}).then(res => {
console.log(res)
// console.log(res)
// Toast.success('发送成功');
});
}
......@@ -214,7 +214,7 @@ const Send = (props) => {
tableId: submitData.tableId,
}
}).then(res => {
console.log(res)
// console.log(res)
})
// const result = goods.filter(item => ids.indexOf(item.id) < 0);
......
......@@ -101,7 +101,7 @@ const Send = (props) => {
},
payload: formData
}).then(res => {
console.log(res)
// console.log(res)
// Toast.success('发送成功');
});
}
......
......@@ -56,7 +56,7 @@ const Send = (props) => {
resolve()
})).then(() => {
if (name !== '办公用品采购') {
console.log(res)
// console.log(res)
res && res.uuid && Toast.success('新增成功');
res && res.uuid && props.history.goBack()
}else {
......@@ -116,7 +116,7 @@ const Send = (props) => {
},
payload: formData
}).then(res => {
console.log(res)
// console.log(res)
// Toast.success('发送成功');
});
}
......
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