From 500078714411487af00161e01bd7e0b5efdc3414 Mon Sep 17 00:00:00 2001
From: cloudroam <cloudroam>
Date: 星期四, 07 八月 2025 13:32:32 +0800
Subject: [PATCH] add:热门景点
---
sub-pages/mine/index.vue | 9 ++++++---
1 files changed, 6 insertions(+), 3 deletions(-)
diff --git a/sub-pages/mine/index.vue b/sub-pages/mine/index.vue
index d761aa9..436e163 100644
--- a/sub-pages/mine/index.vue
+++ b/sub-pages/mine/index.vue
@@ -46,8 +46,8 @@
</view> -->
</view>
<view class="action-buttons">
-<!-- <up-button text="编辑资料" size="mini" type="info" plain hairline @click="navigateTo('/sub-pages/mine/profile-edit')"-->
-<!-- :custom-style="{ backgroundColor: 'transparent', borderColor: '#B1ABA9' }" />-->
+ <up-button text="编辑资料" size="mini" type="info" plain hairline @click="navigateTo('/sub-pages/mine/profile-edit')"
+ :custom-style="{ backgroundColor: 'transparent', borderColor: '#B1ABA9' }" />
<!-- <up-icon name="setting" size="40rpx" @click="navigateTo('/sub-pages/mine/settings')" />-->
</view>
</view>
@@ -168,7 +168,10 @@
onShow(() => {
getLocation()
if (userStore.hasLogin) {
- fetchList();
+ // 强制刷新用户信息
+ userStore.getCurrentInfo().then(() => {
+ fetchList();
+ });
}else {
// 用户未登录,清空列表
likeList.value = [];
--
Gitblit v1.9.3