feat:初始化工程

This commit is contained in:
2025-06-22 23:00:00 +08:00
commit de5537ee1b
36 changed files with 11182 additions and 0 deletions

17
src/utils/index.ts Normal file
View File

@@ -0,0 +1,17 @@
/**
* 文件服务器地址
*/
export const fileServiceUrl = '/home-service/file'
/**
* 服务器文件路径根地址
*/
export const serviceFileRootPath = '/home-service/'
/**
* 获取assets静态资源
* @param url 路径
*/
export const getAssetsImageFile = (url: string) => {
return new URL(`/src/assets/${url}`, import.meta.url).href
}