bug: menu bar bug fix 78/94778/1
authorcyuamber <xuranyjy@chinamobile.com>
Tue, 3 Sep 2019 01:57:16 +0000 (09:57 +0800)
committercyuamber <xuranyjy@chinamobile.com>
Tue, 3 Sep 2019 02:10:01 +0000 (10:10 +0800)
Change-Id: I8520944b7689744c026411178360785ef0fd9ed7
Issue-ID: USECASEUI-306
Signed-off-by: cyuamber <xuranyjy@chinamobile.com>
usecaseui-portal/src/app/app.component.less
usecaseui-portal/src/app/app.component.ts

index 78cc4e4..ed7ad4f 100644 (file)
@@ -46,7 +46,7 @@ nz-layout {
         left: 0;
         z-index: 100;
         height: 100vh; 
-        background: #313449 url('/assets/images/UUIMenuBar.png') no-repeat;
+        background: #313449 url('assets/images/UUIMenuBar.png') no-repeat;
         background-size: 100%;
         .siderContent{
             width: 100%;
index 2642b3e..8e3b41e 100644 (file)
@@ -37,9 +37,9 @@ export class AppComponent {
     getUrl(){
         this.router.events.map(event=> {
             if(event instanceof NavigationEnd){
-                this.url = event['url'].slice(1)
+                this.url = event['urlAfterRedirects'].slice(1)
             }
-            }).subscribe(event=>{})
+        }).subscribe(event=>{})
     }
 
     //209.05.08 Get the currentLanguage