feature: 调整baseUrl方法
This commit is contained in:
parent
5d04b8deea
commit
b5c44e47ff
|
@ -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
|
||||
}
|
Loading…
Reference in New Issue