Merge commit '638a6f3c54a030b7ec191c54efbdc604bdcd6bf7' into dev-wdb

This commit is contained in:
wangdongbo 2026-02-09 16:54:50 +08:00
commit 737cb029e4
2 changed files with 2 additions and 2 deletions

View File

@ -108,7 +108,7 @@ async function bindTeam() {
if (!res || !res.success) { if (!res || !res.success) {
return toast("关联团队失败"); return toast("关联团队失败");
} }
const res1 = await api('getWxAppCustomerCount', { miniAppId: account.value.openid, corpId: account.value.corpId, teamId: team.value.teamId }); const res1 = await api('getWxAppCustomerCount', { miniAppId: account.value.openid, corpId: team.value.corpId, teamId: team.value.teamId });
if (res1 && res1.data > 0) { if (res1 && res1.data > 0) {
set('home-invite-teamId', team.value.teamId); set('home-invite-teamId', team.value.teamId);
toHome(); toHome();

View File

@ -54,7 +54,7 @@ async function bindTeam() {
if (!res || !res.success) { if (!res || !res.success) {
return toast("关联团队失败"); return toast("关联团队失败");
} }
const res1 = await api('getWxAppCustomerCount', { miniAppId: account.value.openid, corpId: account.value.corpId, teamId: team.value.teamId }); const res1 = await api('getWxAppCustomerCount', { miniAppId: account.value.openid, corpId: team.value.corpId, teamId: team.value.teamId });
if (res1 && res1.data > 0) { if (res1 && res1.data > 0) {
set('home-invite-teamId', team.value.teamId); set('home-invite-teamId', team.value.teamId);
uni.switchTab({ uni.switchTab({