From 40021ba5d0a8b85ebb49ca7622606e62ad13ca18 Mon Sep 17 00:00:00 2001 From: xuziqiang <1344691446@qq.com> Date: Tue, 16 Jul 2024 15:50:42 +0800 Subject: [PATCH 1/2] =?UTF-8?q?fix:=20bug=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/view/organizationManage/departmentManage/index.vue | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/hx-ai-intelligent/src/view/organizationManage/departmentManage/index.vue b/hx-ai-intelligent/src/view/organizationManage/departmentManage/index.vue index f4d24fa..757fdb2 100644 --- a/hx-ai-intelligent/src/view/organizationManage/departmentManage/index.vue +++ b/hx-ai-intelligent/src/view/organizationManage/departmentManage/index.vue @@ -194,7 +194,9 @@ const selectRoleRef = ref(); const formSchema = formConfig(disabled as any); const formSchema2 = formConfig2(roleDisabled as any); - const { orgName, projectId, orgId } = JSON.parse(sessionStorage.getItem(import.meta.env.VITE_PUBLIC_PATH)); + const { orgName, projectId, orgId } = JSON.parse( + sessionStorage.getItem(import.meta.env.VITE_PUBLIC_PATH), + ); // const orgId = JSON.parse(sessionStorage.getItem('ORGID')); const roleTreeData = ref([]); const rolePermissionTreeData = ref([]); @@ -340,7 +342,7 @@ const info = { node: { key: '0-0-0', dataRef: { ...roleTreeData.value[0].children[0] } }, }; - SelectUserTree([''], info); + // SelectUserTree([''], info); }); } }); From 62f357c5d5e695aa5fee9cae4b5c71aa8e761103 Mon Sep 17 00:00:00 2001 From: xuziqiang <1344691446@qq.com> Date: Wed, 17 Jul 2024 10:45:12 +0800 Subject: [PATCH 2/2] =?UTF-8?q?fix:=20=E4=BF=AE=E6=94=B9=E9=AA=8C=E8=AF=81?= =?UTF-8?q?=E7=A0=81=E6=9B=B4=E6=96=B0=E6=97=B6=E6=9C=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- lib/saas/view/system/login.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/saas/view/system/login.vue b/lib/saas/view/system/login.vue index 83bc5be..5c64d1e 100644 --- a/lib/saas/view/system/login.vue +++ b/lib/saas/view/system/login.vue @@ -138,8 +138,8 @@ loading.value = true; async function logins() { try { - const res = await configStore.userLogin(JSON.parse(data)); verifyRef.value?.reload(); + const res = await configStore.userLogin(JSON.parse(data)); if (res.data?.token) { if (res.data?.token) { Cookies.set(`${import.meta.env.VITE_PUBLIC_PATH}-nervsid`, res.data?.token);