Update edit-archive.vue
This commit is contained in:
parent
c8bc5b257a
commit
01b703e689
@ -134,6 +134,7 @@ async function addArchive() {
|
|||||||
mobile: account.value.mobile,
|
mobile: account.value.mobile,
|
||||||
miniAppId: account.value.openid,
|
miniAppId: account.value.openid,
|
||||||
externalUserId: externalUserId.value,
|
externalUserId: externalUserId.value,
|
||||||
|
realUnionid: account.value.unionid || '',
|
||||||
}
|
}
|
||||||
loading.value = false;
|
loading.value = false;
|
||||||
const res = await api('addCustomer', { params });
|
const res = await api('addCustomer', { params });
|
||||||
@ -154,7 +155,7 @@ async function bindArchive(customerId) {
|
|||||||
await toast('绑定成功');
|
await toast('绑定成功');
|
||||||
set('home-invite-teamId', teamId.value);
|
set('home-invite-teamId', teamId.value);
|
||||||
uni.switchTab({
|
uni.switchTab({
|
||||||
url:'/pages/home/home'
|
url: '/pages/home/home'
|
||||||
})
|
})
|
||||||
// uni.reLaunch({ url: `/pages/home/home?corpId=${corpId.value}&teamId=${teamId.value}` })
|
// uni.reLaunch({ url: `/pages/home/home?corpId=${corpId.value}&teamId=${teamId.value}` })
|
||||||
} else {
|
} else {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user