Browse Source

优化登陆bug

master
陈裕财 2 years ago
parent
commit
bb5274a52f
  1. 2
      src/views/login/components/login.vue

2
src/views/login/components/login.vue

@ -329,7 +329,7 @@ export default {
rolesChecked(){
var indexPath=sessionStorage.getItem("index-path");
if(!indexPath){
indexPath="/"
indexPath=""
}
if(this.userInfo.isSuperAdmin){
location.replace(indexPath)

Loading…
Cancel
Save