From b9b476d4b4f1bf9e08b58249fb42f7b07aa3a0fa Mon Sep 17 00:00:00 2001
From: 云 <2163098428@qq.com>
Date: 星期三, 26 八月 2026 15:08:07 +0800
Subject: [PATCH] feat(mes): 添加工艺参数模板功能支持
---
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 d014bfa..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