From 479534c49fe00589836877797e307fe3cd2a3678 Mon Sep 17 00:00:00 2001 From: caishi <1149225589@qq.com> Date: Thu, 21 Sep 2023 17:32:48 +0800 Subject: [PATCH] btn color --- src/forge/Information/Pages/selfList.jsx | 20 ++++++++++---------- src/forge/Information/index.scss | 4 ++++ 2 files changed, 14 insertions(+), 10 deletions(-) diff --git a/src/forge/Information/Pages/selfList.jsx b/src/forge/Information/Pages/selfList.jsx index f6b9312aa..54e1a6b36 100644 --- a/src/forge/Information/Pages/selfList.jsx +++ b/src/forge/Information/Pages/selfList.jsx @@ -29,14 +29,6 @@ function SelfList(props){ } },[id,source,page]) - function getFunc(s){ - if(s===true){ - getSource(); - } - if(s===false){ - getNew(); - } - } useEffect(()=>{ if(page===1){ @@ -47,6 +39,14 @@ function SelfList(props){ } },[status]) + function getFunc(s){ + if(s===true){ + getSource(); + } + if(s===false){ + getNew(); + } + } useEffect(()=>{ if(pathname){ @@ -126,8 +126,8 @@ function SelfList(props){