mirror of
https://github.com/qingchencloud/clawpanel.git
synced 2026-06-02 06:09:52 +08:00
chore(release): v0.13.3
- 修复 #212 AI 消息气泡空白 - 修复 #215 HTTPS 下 WebSocket Mixed Content - 修复 #219 多实例版本检测错误 - 修复引擎切换后仪表盘无限加载 - 修复热更新假更新循环(macOS/Linux) - CI release 构建前自动同步版本号
This commit is contained in:
@@ -19,7 +19,12 @@ export function setDefaultRoute(path) {
|
||||
}
|
||||
|
||||
export function navigate(path) {
|
||||
const current = window.location.hash.slice(1)
|
||||
window.location.hash = path
|
||||
// 如果 hash 没有实际变化,手动触发加载(引擎切换等场景兜底)
|
||||
if (current === path) {
|
||||
reloadCurrentRoute()
|
||||
}
|
||||
}
|
||||
|
||||
export function initRouter(contentEl) {
|
||||
|
||||
Reference in New Issue
Block a user