seimin il y a 1 an
Parent
commit
0a794e42f7
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. 1 1
      src/app/app.component.ts

+ 1 - 1
src/app/app.component.ts

@@ -16,7 +16,7 @@ export class AppComponent {
16
     if(isHosIdLogin){
16
     if(isHosIdLogin){
17
       // 登录页
17
       // 登录页
18
       hosId = location.hash.replace(reg, '$1');
18
       hosId = location.hash.replace(reg, '$1');
19
-    }else if(location.hash == '#/main/sysConfig'){
19
+    }else if(location.hash == '#/main/sysConfig' || location.hash == ''){
20
       // 系统配置页
20
       // 系统配置页
21
       hosId = '';
21
       hosId = '';
22
     }else{
22
     }else{