fix(build): fix env

This commit is contained in:
zhangheng
2026-02-27 18:40:05 +08:00
parent a901dcf36b
commit 3e21a46e00
2 changed files with 6 additions and 5 deletions

View File

@@ -1,5 +1,6 @@
import httpFetch from "@/api/fetch"
import { ResultData } from "@/api/typing"
import { BASE_LABEL_API } from "@/components/label/api/const"
import { Login } from "./types"
const BASE_PATH =
@@ -68,7 +69,7 @@ export const deleteCookie = () => {
// /api/v1/label_server/user/permission
export const getUserPermission = () => {
return httpFetch<any>({
url: `/api/v1/label_server/user/permission`,
url: BASE_LABEL_API + `/api/v1/label_server/user/permission`,
method: "GET",
})
}