fix(frontend): 移除运行时演示数据并接入真实后端状态

This commit is contained in:
2026-09-04 07:47:05 +08:00
parent 2e496462a9
commit c04f4c1989
34 changed files with 332 additions and 869 deletions
+3 -3
View File
@@ -23,13 +23,13 @@ onMounted(async () => {
await openVault(lastVaultPath)
return
} catch {
// Mock 阶段保存的旧路径可能与当前后端 Vault 不同,清除后让用户重新选择。
// 历史保存的旧路径可能与当前后端 Vault 不同,清除后让用户重新选择。
localStorage.removeItem('last-vault-path')
}
}
setTimeout(() => {
{
aiCoreStatus.value = settingsStore.aiCoreStatus === 'running' ? 'running' : 'stopped'
}, 800)
}
})
async function openVault(path: string) {