Commit 929dbeae authored by alwayOnlie's avatar alwayOnlie

修改bug

parent f057b1b1
......@@ -103,6 +103,7 @@ const Examine: React.FC<Iprops> = ({
ExamineFlag: false,
code: 1000
})
}
}).finally(() => {
msg();
......
......@@ -288,14 +288,18 @@ const Details = (props: any) => {
/* 提交审核的回调 */
const getfetchData = (data) => {
console.log(data)
setIsModalVisible(data.ExamineFlag)
if (data.code === 1000) {
ref.current.reload()
setTimeout(() => {
history.goBack()
}, 1000)
}
// console.log(data,'2132131')
history.goBack()
// return;
// setIsModalVisible(data.ExamineFlag)
// if (data.code === 1000) {
// ref.current.reload()
// setTimeout(() => {
// history.goBack()
// }, 500)
// } else {
// history.goBack()
// }
}
/* 提交表单 */
const submitExamine = async () => {
......
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