|
|
@ -326,10 +326,10 @@ export default { |
|
|
} |
|
|
} |
|
|
}, |
|
|
}, |
|
|
//角色身份验证 |
|
|
//角色身份验证 |
|
|
rolesChecked(){ |
|
|
|
|
|
|
|
|
rolesChecked(){ |
|
|
var indexPath=sessionStorage.getItem("index-path"); |
|
|
var indexPath=sessionStorage.getItem("index-path"); |
|
|
if(!indexPath){ |
|
|
if(!indexPath){ |
|
|
indexPath="/" |
|
|
|
|
|
|
|
|
indexPath="" |
|
|
} |
|
|
} |
|
|
if(this.userInfo.isSuperAdmin){ |
|
|
if(this.userInfo.isSuperAdmin){ |
|
|
location.replace(indexPath) |
|
|
location.replace(indexPath) |
|
|
|