fix: 首页刷新/反馈按钮/周期键盘三个 bug 修复

This commit is contained in:
2026-06-09 09:06:44 +08:00
parent f745f4b4f0
commit a277f1533b
3 changed files with 16 additions and 6 deletions

View File

@@ -270,8 +270,9 @@ onMounted(() => {
})
// Refresh data when returning from other pages (e.g., after adding a transaction)
// force=true 跳过缓存 TTL确保新记录立即可见
onShow(() => {
if (initialLoaded.value && !loading.value) loadData(true, false)
if (initialLoaded.value && !loading.value) loadData(true, true)
})
onPullDownRefresh(() => {