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 @@