Commit 1dda5aa7 authored by 程恺文's avatar 程恺文

bug修改

parent b8405d27
Pipeline #87420 passed with stages
......@@ -295,7 +295,7 @@ const Layout = props => {
useEffect(() => {
// window.share.event.on('onTopMenuHeaderClick_', res => {
// onTopMenuHeaderClick(res)
// onTopMenuHeaderClick(res)
// });
window.onTopMenuHeaderClick_=onTopMenuHeaderClick
......@@ -472,7 +472,7 @@ const Layout = props => {
// setMenuLoading(false);
// }, [props.menu]);
const onTopMenuHeaderClick = useCallback(index => {
const onTopMenuHeaderClick = (index => {
props.updateCurrentIndex(index);
window.share && window.share.event.emit('trigger:updateMenuIndex', index);
store.set('updateMenuIndex', index);
......
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