fix: 首页刷新/反馈按钮/周期键盘三个 bug 修复
This commit is contained in:
@@ -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(() => {
|
||||
|
||||
Reference in New Issue
Block a user