From 7216dc89276c2caafd4a160dc03d64528675f385 Mon Sep 17 00:00:00 2001 From: cwchen <1048842385@qq.com> Date: Wed, 27 Mar 2024 09:46:09 +0800 Subject: [PATCH] =?UTF-8?q?=E7=99=BB=E5=BD=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- js/publics/public.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/js/publics/public.js b/js/publics/public.js index 8921df9..0005457 100644 --- a/js/publics/public.js +++ b/js/publics/public.js @@ -1,7 +1,9 @@ const token = sessionStorage.getItem("zhgd_token"); const us = sessionStorage.getItem("zhgd_us"); const zhgd_type = sessionStorage.getItem("zhgd_type"); - +const roleCode = JSON.parse(us).roleCode; +const orgId = JSON.parse(us).orgId; +const userId = JSON.parse(us).userId; /* 退出登录 */ function loginout(type) { if (type) {