From 0693e4dbd75a8c23a7e6dd34aa9a9ecee0a3a7b3 Mon Sep 17 00:00:00 2001
From: bhq@iemsoft.cn <bhq@iemsoft.cn>
Date: Tue, 06 Nov 2018 10:34:53 +0800
Subject: [PATCH] 修改登录问题

---
 formManagement/src/app/templateCenter/industryCategory/IndustryCategoryAction.ts |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/formManagement/src/app/templateCenter/industryCategory/IndustryCategoryAction.ts b/formManagement/src/app/templateCenter/industryCategory/IndustryCategoryAction.ts
index 6f84d6f..d40dd1c 100644
--- a/formManagement/src/app/templateCenter/industryCategory/IndustryCategoryAction.ts
+++ b/formManagement/src/app/templateCenter/industryCategory/IndustryCategoryAction.ts
@@ -14,8 +14,8 @@
     }
     // 初期化
     public init(item) {
-        if(this.storage.get('tenantID')){
-            let tenantID = this.storage.get('tenantID').tenantID;
+        if(this._cookieService.get('tenantId')){
+            let tenantID = this._cookieService.get('tenantId');
             let observableCode = this.httpService.get(AppConfig.GETSYSCODELIST,{"codeDiv":"001", "subCodeDiv":"000"})
             observableCode.subscribe(
                 (code) => {

--
Gitblit v1.8.0