This commit is contained in:
yvan 2025-09-08 23:04:11 +08:00
parent 2b4a3b6f1b
commit c191002cc6
1 changed files with 9 additions and 0 deletions

View File

@ -396,6 +396,14 @@ export default {
loadUserStats()
}
//
const forceRefreshUserInfo = () => {
const token = uni.getStorageSync('token')
if (token) {
loadUserInfo()
}
}
//
const onShow = () => {
// loadUserInfo
@ -441,6 +449,7 @@ export default {
familyStats,
adoptionStats,
loadUserInfo,
forceRefreshUserInfo,
handleUserAction,
navigateTo,
navigateToFamily,