From 40c8881f86c16c7dad5b74a94bc80fad11faca21 Mon Sep 17 00:00:00 2001 From: wangxia <779219182@qq.com> Date: Fri, 1 Aug 2025 10:14:43 +0800 Subject: [PATCH] =?UTF-8?q?=E7=99=BB=E5=BD=95=E6=9F=A5=E8=AF=A2=E4=BB=A3?= =?UTF-8?q?=E7=90=86=E4=BF=A1=E6=81=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- root/person/loginIndex.vue | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/root/person/loginIndex.vue b/root/person/loginIndex.vue index 7a10a13..eaeb2f3 100644 --- a/root/person/loginIndex.vue +++ b/root/person/loginIndex.vue @@ -319,16 +319,16 @@ export default { url: that.path, }); } - // if ($data.agencyStatus == 1) { - that.G.Get(that.api.login_agencyInfo, {}, (aRes) => { - console.log("获取团队信息:", aRes); - uni.setStorageSync("agencyInfo", aRes.agency); // 1是创建者 2是普通成员 - uni.setStorageSync("IS_CREATOR", aRes.agency.userId == $data.user.id || $data.admin == true ? 1 : 2); // 1是创建者 2是普通成员 + if ($data.agencyStatus == 1) { + that.G.Get(that.api.login_agencyInfo, {}, (aRes) => { + console.log("获取团队信息:", aRes); + uni.setStorageSync("agencyInfo", aRes.agency); // 1是创建者 2是普通成员 + uni.setStorageSync("IS_CREATOR", aRes.agency.userId == $data.user.id || $data.admin == true ? 1 : 2); // 1是创建者 2是普通成员 - // 登录跳转到首页的判断 - uni.setStorageSync("SHOW_INVITE", 1); - }); - // } + // 登录跳转到首页的判断 + uni.setStorageSync("SHOW_INVITE", 1); + }); + } }, // 发送验证码