|
@@ -268,8 +268,7 @@ export default {
|
|
|
if(redirectUrl){
|
|
|
redirectUrl = JSON.parse(redirectUrl)
|
|
|
localStorage.removeItem('redirectUrl')
|
|
|
- var arr = Object.keys(redirectUrl.query)
|
|
|
- if(arr.length>0){
|
|
|
+ if(redirectUrl.username != this.ruleForm.username){
|
|
|
this.$router.push({
|
|
|
path: '/home'
|
|
|
})
|
|
@@ -280,7 +279,6 @@ export default {
|
|
|
params:redirectUrl.params
|
|
|
})
|
|
|
}
|
|
|
-
|
|
|
}else{
|
|
|
this.$router.push({
|
|
|
path: '/home'
|