feature: 调整baseUrl方法
This commit is contained in:
@@ -121,5 +121,5 @@ export const setBodyPrimaryColor = ( primaryColor, darkMode ) =>{
|
||||
const baseUrl = ref(import.meta.env.VITE_BASE_API)
|
||||
|
||||
export const getBaseUrl = () => {
|
||||
return baseUrl.value === "/" ? "" : baseUrl.value + "/"
|
||||
return baseUrl.value === "/" ? "" : baseUrl.value
|
||||
}
|
Reference in New Issue
Block a user