From 9402749e7e8bd7d7be88084a55323c748ea02cc6 Mon Sep 17 00:00:00 2001 From: zhengyiming <540361168@qq.com> Date: 星期一, 17 二月 2025 14:45:50 +0800 Subject: [PATCH] feat: api --- 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