From 88695d37e54caa2cbc8a42a53261e9cf86d08181 Mon Sep 17 00:00:00 2001
From: zhengyiming <540361168@qq.com>
Date: 星期一, 20 十月 2025 17:30:20 +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