去除手动退出登录按钮

This commit is contained in:
aihe 2024-07-17 10:33:49 +08:00
parent 95a494e044
commit 4f372102b1
2 changed files with 7 additions and 8 deletions

View File

@ -107,13 +107,12 @@
avatarUrl: userInfo.avatar,
phoneNumber: userInfo.phonenumber,
})
let seInfo = getSessionUserInfo()
// 手动退出的场景,不做自动登录
if(!seInfo.logout){
// let seInfo = getSessionUserInfo()
// // 手动退出的场景,不做自动登录
// if(!seInfo.logout){}
await checkParams(this.submitLogin, this.submitValidConfig, false)
this.loginSucceed()
}
}
},
async onChooseAvatar(res) {
let tmpFilePath = res.detail.avatarUrl

View File

@ -19,9 +19,9 @@
</u-col>
</u-row>
</u-col>
<u-col @click="handleUnlogin" span="1" align="end">
<!-- <u-col @click="handleUnlogin" span="1" align="end">
<image style="height: 32rpx;width: 32rpx;" :src="getCdnUrl(`mine/right.png`)"/>
</u-col>
</u-col> -->
</u-row>
</view>