Browse Source

SYHX-1772

intex_online20250220
王宇飞 2 months ago
parent
commit
1a4a2c9688
  1. 4
      src/views/login/components/LoginForm.vue

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

@ -298,6 +298,9 @@ import { getSwitchByCode } from '@/api/wms/switch'
getCode()
return
}
const { wsCache } = useCache()
//
wsCache.clear()
loading.value = ElLoading.service({
lock: true,
text: '正在加载系统中...',
@ -331,7 +334,6 @@ import { getSwitchByCode } from '@/api/wms/switch'
replace({ path: redirect.value || permissionStore.addRouters[0].path })
}
//
const { wsCache } = useCache()
wsCache.set(CACHE_KEY.DEPT, await DeptApi.getSimpleDeptList())
await getSwitchByCode("ShowPackingNumber").then((res) => {
wsCache.set('ShowPackingNumber', res == 'TRUE' ? true : false)

Loading…
Cancel
Save