mirror of
https://github.com/un-pany/v3-admin-vite.git
synced 2025-04-20 10:59:21 +08:00
docs: fix typo
This commit is contained in:
parent
95a8604a2f
commit
d8d1ad2ab7
@ -1,7 +1,7 @@
|
||||
import type * as Login from "./type"
|
||||
import { request } from "@/http/axios"
|
||||
|
||||
/** 获取当前登陆用户详情 */
|
||||
/** 获取当前登录用户详情 */
|
||||
export function getUserInfoApi() {
|
||||
return request<Login.UserInfoResponseData>({
|
||||
url: "users/info",
|
||||
|
@ -17,7 +17,7 @@ export function registerNavigationGuard(router: Router) {
|
||||
NProgress.start()
|
||||
const userStore = useUserStore()
|
||||
const permissionStore = usePermissionStore()
|
||||
// 如果没有登陆
|
||||
// 如果没有登录
|
||||
if (!getToken()) {
|
||||
// 如果在免登录的白名单中,则直接进入
|
||||
if (isWhiteList(to)) return true
|
||||
|
Loading…
x
Reference in New Issue
Block a user