From f7e06aaee32674791f63d6e5111c0d0a3f4de4a3 Mon Sep 17 00:00:00 2001
From: liu <2021943741@qq.com>
Date: 星期五, 28 八月 2026 15:13:13 +0800
Subject: [PATCH] feat(hrm): 新增班次/排班页面,优化薪酬核算
---
src/store/auth.ts | 12 +++++-------
1 files changed, 5 insertions(+), 7 deletions(-)
diff --git a/src/store/auth.ts b/src/store/auth.ts
index d407642..3643cf0 100644
--- a/src/store/auth.ts
+++ b/src/store/auth.ts
@@ -1,13 +1,13 @@
-import type { AuthPermissionInfo, Recordable, UserInfo } from '..\packages\types\src';
+import type { AuthPermissionInfo, Recordable, UserInfo } from '@vben/types';
import type { AuthApi } from '#/api';
import { ref } from 'vue';
import { useRouter } from 'vue-router';
-import { LOGIN_PATH } from '..\packages\constants\src';
-import { preferences } from '..\packages\preferences\src';
-import { resetAllStores, useAccessStore, useUserStore } from '..\packages\stores\src';
+import { LOGIN_PATH } from '@vben/constants';
+import { preferences } from '@vben/preferences';
+import { resetAllStores, useAccessStore, useUserStore } from '@vben/stores';
import { notification } from 'ant-design-vue';
import { defineStore } from 'pinia';
@@ -86,9 +86,7 @@
// oxlint-disable-next-line no-unused-expressions
onSuccess
? await onSuccess?.()
- : await router.push(
- userInfo.homePath || preferences.app.defaultHomePath,
- );
+ : await router.push('/analytics');
}
if (userInfo?.nickname) {
--
Gitblit v1.9.3