feat: 优化获取手机号登录的逻辑

This commit is contained in:
Gaoxs
2023-04-26 14:55:21 +08:00
parent df492cbc63
commit 7b896ceee4
3 changed files with 212 additions and 99 deletions

View File

@ -1,7 +1,12 @@
<template>
<view class="lottie-bg">
<view id="lottie">
<image src="@/static/live-logo.gif" rel="preload" mode="widthFix" style="width: 100%" />
<image
src="@/static/live-logo.gif"
rel="preload"
mode="widthFix"
style="width: 100%"
/>
</view>
</view>
</template>
@ -50,7 +55,8 @@ export default {
}
console.log('进行登录操作')
login().finally(() => {
this.$yrouter.switchTab({
this.changeAuthorization(false)
this.$yrouter.replace({
path: '/pages/home/index',
})
})