Commit 3f60616f authored by yzl's avatar yzl

- 性能优化

parent 0b007ce7
Pipeline #57623 passed with stages
...@@ -288,7 +288,7 @@ const Layout = (props) => { ...@@ -288,7 +288,7 @@ const Layout = (props) => {
} }
setVisible(flag); setVisible(flag);
}, [props]); }, [props.location.pathname]);
useEffect(() => { useEffect(() => {
siteAction.setGlobalConfig(props.global); siteAction.setGlobalConfig(props.global);
......
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