Commit 1f28536d authored by 崔佳豪's avatar 崔佳豪

fix: 站点切换加载首页

parent d7029e52
...@@ -357,7 +357,7 @@ class Site { ...@@ -357,7 +357,7 @@ class Site {
self.props && self.props &&
self.props.updateComplexConfig && self.props.updateComplexConfig &&
self.props.updateComplexConfig({}); self.props.updateComplexConfig({});
self.props.history && self.props.history.push(self.globalConfig ?? `/?client=${self.props.global.client}`); self.props.history && self.props.history.push(self.globalConfig.homepage ?? `/?client=${self.globalConfig.client}`);
// window.location.reload(); // window.location.reload();
window.share.event.emit('triggerMicro', this.props.global); window.share.event.emit('triggerMicro', this.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