Commit b28e7060 authored by Facius's avatar Facius

跳转登录地址

parent b1493d64
...@@ -159,7 +159,7 @@ ...@@ -159,7 +159,7 @@
} }
if (res.data.code == 401 || res.data.code == 403) { if (res.data.code == 401 || res.data.code == 403) {
uni.navigateTo({ uni.navigateTo({
url: '/pages/login/wxlogin' url: '/pages/login/index'
}) })
return return
} }
...@@ -228,7 +228,7 @@ ...@@ -228,7 +228,7 @@
if (res.statusCode == 401) { if (res.statusCode == 401) {
uni.navigateTo({ uni.navigateTo({
url: '/pages/login/wxlogin' url: '/pages/login/index'
}) })
return return
} }
...@@ -297,7 +297,7 @@ ...@@ -297,7 +297,7 @@
uni.hideLoading() uni.hideLoading()
if (res.statusCode == 401) { if (res.statusCode == 401) {
uni.navigateTo({ uni.navigateTo({
url: '/pages/login/wxlogin' url: '/pages/login/index'
}) })
return return
} }
...@@ -408,14 +408,14 @@ ...@@ -408,14 +408,14 @@
//有选答案 //有选答案
this.isSelect = isSelect this.isSelect = isSelect
}, },
// 点击下一步 // 点击下一步
handleClick() { handleClick() {
// 判断有没有选 // 判断有没有选
if (!this.isSelect) { if (!this.isSelect) {
return return
} }
this.nextClick() this.nextClick()
}, },
//下一题 //下一题
...@@ -447,7 +447,7 @@ ...@@ -447,7 +447,7 @@
if (res.statusCode == 401) { if (res.statusCode == 401) {
uni.navigateTo({ uni.navigateTo({
url: '/pages/login/wxlogin' url: '/pages/login/index'
}) })
return return
} }
...@@ -551,8 +551,8 @@ ...@@ -551,8 +551,8 @@
width: 100%; width: 100%;
height: 100%; height: 100%;
display: flex; display: flex;
flex-direction: column; flex-direction: column;
overflow-y:auto; overflow-y:auto;
overflow-y:auto; overflow-y:auto;
} }
......
...@@ -178,7 +178,7 @@ export default { ...@@ -178,7 +178,7 @@ export default {
}, },
gotoLogin() { gotoLogin() {
uni.navigateTo({ uni.navigateTo({
url: "/pages/login/wxlogin", url: "/pages/login/index",
}); });
return; return;
}, },
......
...@@ -125,7 +125,7 @@ ...@@ -125,7 +125,7 @@
const globalData = getApp().globalData const globalData = getApp().globalData
// if (!globalData.token) { // if (!globalData.token) {
// uni.navigateTo({ // uni.navigateTo({
// url: '/pages/login/wxlogin' // url: '/pages/login/index'
// }) // })
// return // 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