flat: 登陆
This commit is contained in:
@@ -277,13 +277,6 @@
|
||||
},
|
||||
onLoad: function(options) { },
|
||||
onShow: function() {
|
||||
console.log(this.$store.state.auth.loginType, 'index')
|
||||
// if(this.$store.state.auth.loginType !== 0) {
|
||||
// uni.reLaunch({
|
||||
// url: '/pages/login/blank'
|
||||
// })
|
||||
// return
|
||||
// }
|
||||
if (!this.$store.state.user.token) {
|
||||
uni.reLaunch({
|
||||
url: '/pages/login/login'
|
||||
|
||||
Reference in New Issue
Block a user