Commit b28e7060 authored by Facius's avatar Facius

跳转登录地址

parent b1493d64
......@@ -159,7 +159,7 @@
}
if (res.data.code == 401 || res.data.code == 403) {
uni.navigateTo({
url: '/pages/login/wxlogin'
url: '/pages/login/index'
})
return
}
......@@ -228,7 +228,7 @@
if (res.statusCode == 401) {
uni.navigateTo({
url: '/pages/login/wxlogin'
url: '/pages/login/index'
})
return
}
......@@ -297,7 +297,7 @@
uni.hideLoading()
if (res.statusCode == 401) {
uni.navigateTo({
url: '/pages/login/wxlogin'
url: '/pages/login/index'
})
return
}
......@@ -408,14 +408,14 @@
//有选答案
this.isSelect = isSelect
},
// 点击下一步
handleClick() {
// 判断有没有选
if (!this.isSelect) {
return
}
this.nextClick()
},
// 点击下一步
handleClick() {
// 判断有没有选
if (!this.isSelect) {
return
}
this.nextClick()
},
//下一题
......@@ -447,7 +447,7 @@
if (res.statusCode == 401) {
uni.navigateTo({
url: '/pages/login/wxlogin'
url: '/pages/login/index'
})
return
}
......@@ -551,8 +551,8 @@
width: 100%;
height: 100%;
display: flex;
flex-direction: column;
overflow-y:auto;
flex-direction: column;
overflow-y:auto;
overflow-y:auto;
}
......
......@@ -178,7 +178,7 @@ export default {
},
gotoLogin() {
uni.navigateTo({
url: "/pages/login/wxlogin",
url: "/pages/login/index",
});
return;
},
......
......@@ -125,7 +125,7 @@
const globalData = getApp().globalData
// if (!globalData.token) {
// uni.navigateTo({
// url: '/pages/login/wxlogin'
// url: '/pages/login/index'
// })
// return
// }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment