|
@@ -268,7 +268,7 @@ export default {
|
|
if(redirectUrl){
|
|
if(redirectUrl){
|
|
redirectUrl = JSON.parse(redirectUrl)
|
|
redirectUrl = JSON.parse(redirectUrl)
|
|
localStorage.removeItem('redirectUrl')
|
|
localStorage.removeItem('redirectUrl')
|
|
- if(redirectUrl.userName != this.ruleForm.username){
|
|
|
|
|
|
+ if(redirectUrl.userName && redirectUrl.userName != this.ruleForm.username){
|
|
this.$router.push({
|
|
this.$router.push({
|
|
path: '/home'
|
|
path: '/home'
|
|
})
|
|
})
|