mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/learning-system-mobile.git
synced 2025-12-11 03:46:47 +08:00
Merge branch 'master' of codeup.aliyun.com:6265f483e4166464dc2f9c14/boeu/mobile
This commit is contained in:
@@ -30,8 +30,16 @@
|
|||||||
window.open(this.$config.loginPath)
|
window.open(this.$config.loginPath)
|
||||||
// #endif
|
// #endif
|
||||||
}else{
|
}else{
|
||||||
|
uni.showModal({
|
||||||
|
title:'获取用户信息',
|
||||||
|
content:openUrl
|
||||||
|
})
|
||||||
apiLogin.boeLogin(token).then(rs=>{
|
apiLogin.boeLogin(token).then(rs=>{
|
||||||
if(rs.status==200){
|
if(rs.status==200){
|
||||||
|
uni.showModal({
|
||||||
|
title:'获取用户成功',
|
||||||
|
content:openUrl
|
||||||
|
})
|
||||||
//setToken(rs.result.access_token);
|
//setToken(rs.result.access_token);
|
||||||
//加载用户信息
|
//加载用户信息
|
||||||
this.$store.dispatch("InitData").then(res => {
|
this.$store.dispatch("InitData").then(res => {
|
||||||
|
|||||||
Reference in New Issue
Block a user