Commit 2f95cf22 authored by 崔佳豪's avatar 崔佳豪

fix: 首页点击问题

parent 1d3915ad
Pipeline #51911 passed with stages
in 2 minutes 6 seconds
......@@ -119,9 +119,9 @@ const GlobalHeaderRight = props => {
let url = _.isString(props.global.get('homepage'))
? props.global.get('homepage')
: props.global.get('homepage.url');
if(!props.global.get('home')) {
url = `civweb4/${url.replace(/^\//, '').replace(/^civweb4\//, '')}`
}
// if(!props.global.get('home')) {
// url = `civweb4/${url.replace(/^\//, '').replace(/^civweb4\//, '')}`
// }
window.share.event.emit('goHome', `/${url}`);
// url ? (
// window.share.event.emit('listenerMointer', {
......
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