diff options
author | guochuyicmri <guochuyi@chinamobile.com> | 2019-05-23 20:08:02 +0800 |
---|---|---|
committer | guochuyicmri <guochuyi@chinamobile.com> | 2019-05-23 20:08:24 +0800 |
commit | 1321f2095d4259a2b985030702f713d95feee715 (patch) | |
tree | 6c22b0339b91ec6b4b5e4458a35d84ecce24637b /usecaseui-portal/src/app/app.component.ts | |
parent | d045d2d97b28dab10805a257e1747e926e43d0fa (diff) |
Fix instance instantiation for CCVPN
Change-Id: I2d8a9b4e868bb74d4409540d46ce87e604e17c57
Issue-ID: USECASEUI-220
Signed-off-by: guochuyicmri <guochuyi@chinamobile.com>
Diffstat (limited to 'usecaseui-portal/src/app/app.component.ts')
-rw-r--r-- | usecaseui-portal/src/app/app.component.ts | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/usecaseui-portal/src/app/app.component.ts b/usecaseui-portal/src/app/app.component.ts index 01206873..29555943 100644 --- a/usecaseui-portal/src/app/app.component.ts +++ b/usecaseui-portal/src/app/app.component.ts @@ -36,9 +36,10 @@ export class AppComponent { currentloginId = null; currentLanguage = "en"; currentLanguageGet() { - this.currentloginId = sessionStorage.getItem("loginId") || null; + this.currentloginId = sessionStorage.getItem("userId") || null; + console.log(this.currentloginId,"this.currentloginId","loginId"); if (this.currentloginId != null) { - console.log(this.currentloginId); + console.log(this.currentloginId,"this.currentloginId","loginId","you id"); this.myhttp.getCurrentLanguage(this.currentloginId) .subscribe( (data) => { |