修改
This commit is contained in:
@@ -67,12 +67,12 @@
|
||||
async silentAuth() {
|
||||
try {
|
||||
// 1) 如果本地已有 token,直接进首页(丝滑)
|
||||
const token = uni.getStorageSync('token')
|
||||
if (token) {
|
||||
this.title = '已登录'
|
||||
this.desc = '正在进入首页'
|
||||
return this.goHomeSmooth()
|
||||
}
|
||||
// const token = uni.getStorageSync('token')
|
||||
// if (token) {
|
||||
// this.title = '已登录'
|
||||
// this.desc = '正在进入首页'
|
||||
// return this.goHomeSmooth()
|
||||
// }
|
||||
|
||||
// 2) 获取飞书授权跳转地址(静默授权/免登)
|
||||
this.title = '正在跳转飞书授权'
|
||||
|
||||
Reference in New Issue
Block a user