Browse Source

租户

hella_online_20250227
王宇飞 1 month ago
parent
commit
f76749323d
  1. 4
      src/views/login/components/LoginForm.vue

4
src/views/login/components/LoginForm.vue

@ -244,6 +244,9 @@
loginLoading.value = true
try {
const { wsCache } = useCache()
//
wsCache.clear()
await getTenantId()
const data = await validForm()
@ -329,7 +332,6 @@
replace({ path: redirect.value || permissionStore.addRouters[0].path })
}
//
const { wsCache } = useCache()
wsCache.set(CACHE_KEY.DEPT, await DeptApi.getSimpleDeptList())
}catch (e){
if(e.code === 1002000016){

Loading…
Cancel
Save