mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/fe-student.git
synced 2025-12-14 05:16:47 +08:00
接口初始化 第一版
This commit is contained in:
3
src/api/utils.js
Normal file
3
src/api/utils.js
Normal file
@@ -0,0 +1,3 @@
|
||||
export function useImage(src){
|
||||
return new URL(`../assets/image/${src}`, import.meta.url).href
|
||||
}
|
||||
Reference in New Issue
Block a user