From 8b3c422cc075f1083f8961663fb2e2f56f8b2e92 Mon Sep 17 00:00:00 2001
From: zhengyiming <540361168@qq.com>
Date: 星期四, 12 六月 2025 14:30:37 +0800
Subject: [PATCH] fix: s

---
 src/store/modules/user.ts |    3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)

diff --git a/src/store/modules/user.ts b/src/store/modules/user.ts
index 4cf1068..49bd21d 100644
--- a/src/store/modules/user.ts
+++ b/src/store/modules/user.ts
@@ -4,7 +4,6 @@
 import { resetRouter, router } from '@/router';
 import { useTagsViewStoreHook } from './tagsView';
 import * as accountServices from '@/services/api/Account';
-import * as userServices from '@/services/api/User';
 import { usePermissionStoreHook } from './permission';
 import { getAccountInfoFromAccessToken, AccountInfo } from '@bole-core/core';
 import { useClearSubModule } from '@/hooks';
@@ -64,7 +63,7 @@
     // 鐢ㄦ埛鐧诲叆
     loginByUsername(data: API.AccessRequestDto) {
       return new Promise<void>((resolve, reject) => {
-        userServices
+        accountServices
           .getTokenForWeb(data, { showLoading: false })
           .then((res) => {
             if (res) {

--
Gitblit v1.9.1