flat: 登陆

This commit is contained in:
Apcallover
2024-03-20 20:21:45 +08:00
parent e1726ca03a
commit 367341a391
2 changed files with 0 additions and 8 deletions

View File

@@ -19,7 +19,6 @@
uni.reLaunch({
url: '/pages/login/blank?token=' + options.query.token
})
this.$store.commit('changeLoginType', options.query.token)
} else if (this.$store.state.user.token) {
this.$store.dispatch('startRefreshTokenTimer')
this.$store.dispatch('startRefreshNewsTimer')

View File

@@ -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'