From b731548e050c727c4e05db660dfb64eabc94dbdd Mon Sep 17 00:00:00 2001
From: zhangyongtian <1181606322@qq.com>
Date: Fri, 13 Sep 2024 16:35:46 +0800
Subject: [PATCH] fix: bug修改

---
 gz-customerSystem/src/views/register/eventFlow/component/Examine.jsx |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/gz-customerSystem/src/views/register/eventFlow/component/Examine.jsx b/gz-customerSystem/src/views/register/eventFlow/component/Examine.jsx
index 44324bc..26f9a49 100644
--- a/gz-customerSystem/src/views/register/eventFlow/component/Examine.jsx
+++ b/gz-customerSystem/src/views/register/eventFlow/component/Examine.jsx
@@ -6,6 +6,7 @@
 import { Scrollbars } from "react-custom-scrollbars";
 import * as $$ from '@/utils/utility';
 import { getOffset, getSize } from '@/utils/utility';
+import { useNavigate } from 'react-router-dom';
 
 const RadioGroup = Radio.Group;
 const FormItem = Form.Item;
@@ -27,6 +28,7 @@
 }
 
 export default function Examine(props) {
+  const navigate = useNavigate();
   const formRef = useRef();
   const scrollRef = useRef(null);
   const [infoData, setInfoData] = useState({});
@@ -101,6 +103,7 @@
     const res = await submit(props.type, data)
     if (res.type) {
       $$.infoSuccess({ content: '提交成功!' });
+      navigate('/mediate/visit/visitWorkBench')
     }
   }
 

--
Gitblit v1.8.0