From 0db4bf5a865d183a83dc991d2ef53f820dca8c77 Mon Sep 17 00:00:00 2001
From: gaoluyang <2820782392@qq.com>
Date: 星期一, 12 十月 2026 10:32:57 +0800
Subject: [PATCH] fix(mdm): 物料管理 导入失败展示修改及同步生产物料问题

---
 src/store/auth.ts |    4 +---
 1 files changed, 1 insertions(+), 3 deletions(-)

diff --git a/src/store/auth.ts b/src/store/auth.ts
index 7d09f0e..3643cf0 100644
--- a/src/store/auth.ts
+++ b/src/store/auth.ts
@@ -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