From 946d29ad97b7f8adbbe870427a0fbaf7dbdf44d5 Mon Sep 17 00:00:00 2001 From: huxuejian Date: Tue, 10 Feb 2026 11:08:00 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E9=97=AE=E9=A2=98=E4=BF=AE=E5=A4=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/archive/edit-archive.vue | 8 ++++++-- pages/home/home.vue | 25 +++++++++++++++---------- store/account.js | 2 +- 3 files changed, 22 insertions(+), 13 deletions(-) diff --git a/pages/archive/edit-archive.vue b/pages/archive/edit-archive.vue index ea0dba7..77cf59d 100644 --- a/pages/archive/edit-archive.vue +++ b/pages/archive/edit-archive.vue @@ -152,7 +152,11 @@ async function bindArchive(customerId) { const res = await api('bindMiniAppArchive', { id: customerId, corpId: corpId.value, teamId: teamId.value, miniAppId: account.value.openid }); if (res && res.success) { await toast('绑定成功'); - uni.reLaunch({ url: `/pages/home/home?corpId=${corpId.value}&teamId=${teamId.value}` }) + set('home-invite-teamId', teamId.value); + uni.switchTab({ + url:'/pages/home/home' + }) + // uni.reLaunch({ url: `/pages/home/home?corpId=${corpId.value}&teamId=${teamId.value}` }) } else { toast(res?.message || '绑定失败'); } @@ -195,7 +199,7 @@ async function getBaseForm() { formItems.value = Array.isArray(res.data) ? res.data : []; const mobileIndex = formItems.value.findIndex(item => item.title === 'mobile'); if (mobileIndex > -1) { - formItems.value[mobileIndex].appendText = `(授权手机号不可修改)`; + formItems.value[mobileIndex].appendText = `(授权手机号)`; } } else { diff --git a/pages/home/home.vue b/pages/home/home.vue index 98549f1..772b938 100644 --- a/pages/home/home.vue +++ b/pages/home/home.vue @@ -22,7 +22,8 @@