装备栏、技能栏
This commit is contained in:
@@ -13,3 +13,7 @@ export const getImageURL = (image: string) => {
|
||||
image = image.startsWith('/') ? image : `/${image}`
|
||||
return `${baseURL}${image}`
|
||||
}
|
||||
|
||||
export const getLocalImageURL = (url:string)=>{
|
||||
return new URL(url, import.meta.url).href
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user