From 77ad4d627ab6128811d829d3a6943911f0298cfb Mon Sep 17 00:00:00 2001 From: jl-zhoujl2 Date: Tue, 19 Apr 2022 21:32:49 +0800 Subject: [PATCH] =?UTF-8?q?4.19=20=E6=94=B6=E8=97=8F=E5=8A=9F=E8=83=BDurl?= =?UTF-8?q?=E5=BD=B1=E5=93=8D=E6=9F=A5=E8=AF=A2=E6=9D=A1=E4=BB=B6bug?= =?UTF-8?q?=E4=BF=AE=E6=94=B9=EF=BC=8C=E8=B7=9F=E8=BF=9B=E8=BF=94=E5=9B=9E?= =?UTF-8?q?=E5=90=8E=E9=87=8D=E7=BD=AE=E6=8C=89=E9=92=AE=E5=A4=B1=E6=95=88?= =?UTF-8?q?bug=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../ProjectManage/Supervision/components/FavoritesList.tsx | 1 + .../ProjectManage/Supervision/components/ProjectManage.tsx | 1 + 2 files changed, 2 insertions(+) diff --git a/src/pages/Project/ProjectManage/Supervision/components/FavoritesList.tsx b/src/pages/Project/ProjectManage/Supervision/components/FavoritesList.tsx index 7081278..14c24fe 100644 --- a/src/pages/Project/ProjectManage/Supervision/components/FavoritesList.tsx +++ b/src/pages/Project/ProjectManage/Supervision/components/FavoritesList.tsx @@ -184,6 +184,7 @@ const FavoritesList: React.FC = (props) => { } return result; }).finally(() => { + isNotEmpty(window.location.search) && history.push(window.location.pathname); spinSet(false); }) } diff --git a/src/pages/Project/ProjectManage/Supervision/components/ProjectManage.tsx b/src/pages/Project/ProjectManage/Supervision/components/ProjectManage.tsx index 29ae482..e556efa 100644 --- a/src/pages/Project/ProjectManage/Supervision/components/ProjectManage.tsx +++ b/src/pages/Project/ProjectManage/Supervision/components/ProjectManage.tsx @@ -154,6 +154,7 @@ const ProjectManage: React.FC = (props) => { } return result; }).finally(() => { + isNotEmpty(window.location.search) && history.push(window.location.pathname); spinSet(false); }) }