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

bug修改

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