From 8231ef3a31c869165c38640daf51b3059f81befe Mon Sep 17 00:00:00 2001 From: zheng020 Date: Tue, 12 May 2026 13:41:14 +0800 Subject: [PATCH] =?UTF-8?q?feat:=E9=9A=90=E8=97=8F=E6=98=8E=E6=98=9F?= =?UTF-8?q?=E9=80=89=E6=8B=A9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- frontend/pages/profile/profile.vue | 6 +++--- frontend/utils/api.js | 7 ++++--- 2 files changed, 7 insertions(+), 6 deletions(-) diff --git a/frontend/pages/profile/profile.vue b/frontend/pages/profile/profile.vue index 652c6f5..87db222 100644 --- a/frontend/pages/profile/profile.vue +++ b/frontend/pages/profile/profile.vue @@ -86,10 +86,10 @@ 修改密码 - + 注销账号 @@ -387,7 +387,7 @@ const fetchUserInfo = async (forceRefresh = false) => { nickname.value = userForCache.nickname || ''; uid.value = userForCache.uid || ''; fanLevel.value = userForCache.fan_level || 0; - fanTag.value = userForCache.fan_identity?.tag || ''; + fanTag.value = userForCache.fan_identity?.name || ''; blockchainAddress.value = userForCache.blockchain_address || ''; userAvatarUrl.value = userForCache.avatar_url || ''; mobile.value = uni.getStorageSync('login_mobile') || ''; diff --git a/frontend/utils/api.js b/frontend/utils/api.js index 29a6fb0..57c1ff7 100644 --- a/frontend/utils/api.js +++ b/frontend/utils/api.js @@ -3,18 +3,19 @@ // 不需要手动注释! // #ifdef H5 -const baseURL = 'http://localhost:8080' // H5 开发用本机 +// const baseURL = 'http://localhost:8080' // H5 开发用本机 +const baseURL = 'http://192.168.110.60:8080' // H5 开发用本机 // #endif // #ifdef APP-PLUS // 开发调试:手机和电脑同一WiFi时用这个(改成你电脑IP) // 上线后:改成实际服务器地址 -// const baseURL = 'http://192.168.110.60:8080' +const baseURL = 'http://192.168.110.60:8080' // #endif // 服务器地址(正式上线用) // #ifdef APP-PLUS -const baseURL = 'http://101.132.250.62:8080' +// const baseURL = 'http://101.132.250.62:8080' // #endif // 是否使用模拟数据(开发调试时设为 true,后端API准备好后改为 false)