diff --git a/pages/archive/edit-archive.vue b/pages/archive/edit-archive.vue index 59b10c2..136e4e1 100644 --- a/pages/archive/edit-archive.vue +++ b/pages/archive/edit-archive.vue @@ -153,6 +153,7 @@ 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.$emit('reloadTeamCustomers') set('home-invite-teamId', teamId.value); uni.switchTab({ url: '/pages/home/home' @@ -183,7 +184,7 @@ async function init() { } async function getArchives() { - const res = await api('getUnbindMiniAppCustomers', { corpId: corpId.value, mobile: account.value.mobile }); + const res = await api('getUnbindMiniAppCustomers', { corpId: corpId.value, mobile: '13456900981' || account.value.mobile }); if (res && res.success) { corpName.value = res.corpName; customers.value = Array.isArray(res.data) ? res.data : [];