爱尚家接口合并到cms-api.websoft.top
This commit is contained in:
@@ -76,14 +76,15 @@
|
||||
},
|
||||
// 1. 未登录则使用免密登录方式登录(游客身份)
|
||||
onLogin() {
|
||||
const token = storage.get(ACCESS_TOKEN)
|
||||
if (!token) {
|
||||
getToken().then(res => {
|
||||
uni.reLaunch({
|
||||
url: '/pages/index/index'
|
||||
})
|
||||
})
|
||||
}
|
||||
uni.reLaunch({
|
||||
url: '/pages/index/index'
|
||||
})
|
||||
// const token = storage.get(ACCESS_TOKEN)
|
||||
// if (!token) {
|
||||
// getToken().then(res => {
|
||||
|
||||
// })
|
||||
// }
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user