cloudroam
10 天以前 05316275ee6f1623cc022a3cb4967a440c105a6b
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) {
    // 强制刷新用户信息
    userStore.getCurrentInfo().then(() => {
    fetchList();
    });
  }else {
    // 用户未登录,清空列表
    likeList.value = [];