Skip to content

修復1月更新後聊天預覽無法顯示#34

Merged
2977094657 merged 2 commits intoLifeArchiveProject:mainfrom
alfredt999:main
Mar 14, 2026
Merged

修復1月更新後聊天預覽無法顯示#34
2977094657 merged 2 commits intoLifeArchiveProject:mainfrom
alfredt999:main

Conversation

@alfredt999
Copy link
Copy Markdown
Contributor

修復1月更新後聊天預覽無法顯示

…d WCDB timeout

- Move frontend/utils/ to frontend/lib/ to avoid Nuxt unimport scanner
  incorrectly extracting function parameter names (value, fallback) as
  module-level exports, which injected phantom imports that broke all
  client-side JavaScript execution
- Update all import paths across 13 files from ~/utils/ to ~/lib/
- Add timeout (5s) and negative cache (60s TTL) to WCDB realtime
  ensure_connected() to prevent open_account() from hanging indefinitely
  when the WeChat database is locked
- Reorder selectContact() to fire loadMessages() before navigateTo() so
  the message fetch starts before route navigation triggers Suspense
- Add watch: false to SSR useAsyncData calls to prevent unnecessary
  re-fetching on client-side route changes
@2977094657
Copy link
Copy Markdown
Collaborator

修复前后具体的展现形式是什么样的?截图看看

@alfredt999
Copy link
Copy Markdown
Contributor Author

alfredt999 commented Mar 14, 2026

before
before
after
after

@2977094657
Copy link
Copy Markdown
Collaborator

把锁文件去掉

@alfredt999
Copy link
Copy Markdown
Contributor Author

這樣?

@2977094657 2977094657 merged commit 5d165ae into LifeArchiveProject:main Mar 14, 2026
2977094657 added a commit that referenced this pull request Apr 7, 2026
修復1月更新後聊天預覽無法顯示
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants