summaryrefslogtreecommitdiffstats
path: root/usecaseui-portal/src/app/app.component.ts
diff options
context:
space:
mode:
authorcyuamber <xuranyjy@chinamobile.com>2019-09-03 09:57:16 +0800
committercyuamber <xuranyjy@chinamobile.com>2019-09-03 10:10:01 +0800
commit544dc41453c524bec4273dda5010897eda566251 (patch)
treebd5fb78665480bb4ec8ffcf74640b5ab2d518041 /usecaseui-portal/src/app/app.component.ts
parent19abe2af19ba49073949f8254aec897afe7bb303 (diff)
bug: menu bar bug fix
Change-Id: I8520944b7689744c026411178360785ef0fd9ed7 Issue-ID: USECASEUI-306 Signed-off-by: cyuamber <xuranyjy@chinamobile.com>
Diffstat (limited to 'usecaseui-portal/src/app/app.component.ts')
-rw-r--r--usecaseui-portal/src/app/app.component.ts4
1 files changed, 2 insertions, 2 deletions
diff --git a/usecaseui-portal/src/app/app.component.ts b/usecaseui-portal/src/app/app.component.ts
index 2642b3ed..8e3b41e9 100644
--- a/usecaseui-portal/src/app/app.component.ts
+++ b/usecaseui-portal/src/app/app.component.ts
@@ -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