Browse Source

SYHX-1772

hella_zhaoxuebing
王宇飞 2 months ago
parent
commit
6500eaa8a8
  1. 4
      src/views/login/components/LoginForm.vue

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

@ -297,6 +297,9 @@
getCode()
return
}
const { wsCache } = useCache()
//
wsCache.clear()
loading.value = ElLoading.service({
lock: true,
text: '正在加载系统中...',
@ -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