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); }); } }); 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);