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/EscalationModel.jsx | 3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) diff --git a/gz-customerSystem/src/views/register/eventFlow/component/EscalationModel.jsx b/gz-customerSystem/src/views/register/eventFlow/component/EscalationModel.jsx index 6e3fc4b..b13af2a 100644 --- a/gz-customerSystem/src/views/register/eventFlow/component/EscalationModel.jsx +++ b/gz-customerSystem/src/views/register/eventFlow/component/EscalationModel.jsx @@ -5,6 +5,7 @@ import { Scrollbars } from "react-custom-scrollbars"; import { escalation } from '@/assets/images/icon'; import * as $$ from '@/utils/utility'; +import { useNavigate } from 'react-router-dom'; const FormItem = Form.Item; const TextArea = Input.TextArea; @@ -27,6 +28,7 @@ } export default function BackModel(props) { + const navigate = useNavigate(); const formRef = useRef(); const [id, setId] = useState(); const [unitData, setUnitData] = useState({}); @@ -87,6 +89,7 @@ if (res.type) { $$.infoSuccess({ content: '提交申请成功!' }); props.onCancel() + navigate('/mediate/visit/visitWorkBench') } } -- Gitblit v1.8.0