summaryrefslogtreecommitdiffstats
path: root/usecaseui-portal/src/app
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
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')
-rw-r--r--usecaseui-portal/src/app/app.component.less2
-rw-r--r--usecaseui-portal/src/app/app.component.ts4
2 files changed, 3 insertions, 3 deletions
diff --git a/usecaseui-portal/src/app/app.component.less b/usecaseui-portal/src/app/app.component.less
index 78cc4e44..ed7ad4f1 100644
--- a/usecaseui-portal/src/app/app.component.less
+++ b/usecaseui-portal/src/app/app.component.less
@@ -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%;
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