接口初始化 第一版

This commit is contained in:
yuping
2022-11-21 19:33:15 +08:00
parent 039042f607
commit d53c2920ed
20 changed files with 421 additions and 680 deletions

3
src/api/utils.js Normal file
View File

@@ -0,0 +1,3 @@
export function useImage(src){
return new URL(`../assets/image/${src}`, import.meta.url).href
}