登录修改

parent e1b91f1a
......@@ -8,7 +8,7 @@ onLaunch(async () => {
// #ifdef H5-SGY
if (import.meta.env.VITE_APP_ENV === 'production') {
userStore.logout()
await fastLoginBySgy()
fastLoginBySgy()
return
} else {
if (userStore.logout) await signIn2();
......
......@@ -83,6 +83,9 @@ onLoad(() => {
contentHeight.value = (res.top + res.bottom) / 2 + 25;
},
});
setTimeout(() => {
getOrganizeList()
}, 1000)
})
const router = useRouter()
......@@ -96,10 +99,10 @@ const total = reactive({
2: 0
})
onShow(async() => {
onShow(() => {
// toLogin()
// if (userStore.isLogin())
await getOrganizeList()
getOrganizeList()
})
const toLogin = () => {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment