重构: 连接切换链收敛与代码清理

- 切换连接统一switchConnection入口,删watcher与抑制机制
- 删除活跃服务器后回落本地并加载
- 侧边栏与指示器点击统一上抛,重复点击可刷新
- Wails事件解析归一,查重谓词抽公共
- 删空壳别名文件与过期文档截图
This commit is contained in:
lxy committed 2026-09-15 22:26:36 +08:00
1 parent 6ea9d9ac99
commit 0475d55bff
23 files changed
+395 -351

No files matched your search

@@ -59,7 +59,9 @@ export function usePathNavigation(options: UsePathNavigationOptions = {}) {
* 导航到指定路径
*/
const navigate = async (path: string) => {
if (!path || path === filePath.value) return
if (!path || path === filePath.value) {
return
}
try {
const normalizedPath = normalizePathSeparators(path)