Commit 9124267d authored by 崔佳豪's avatar 崔佳豪

fix: 首页触发两次问题

parent a17daeb7
......@@ -129,12 +129,12 @@ const GlobalHeaderRight = props => {
url = `civweb4/${url.replace(/^\//, '').replace(/^civweb4\//, '')}`
}
window.share.event.emit('goHome', `/${url}`);
url ? (
window.share.event.emit('listenerMointer', {
label: '首页',
url: url.replace(/^civweb4\//, ''),
})
) : null;
// url ? (
// window.share.event.emit('listenerMointer', {
// label: '首页',
// url: url.replace(/^civweb4\//, ''),
// })
// ) : null;
};
......
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