feat: 优化获取手机号登录的逻辑
This commit is contained in:
@ -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',
|
||||
})
|
||||
})
|
||||
|
Reference in New Issue
Block a user