/** * 文件服务器地址 */ 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 }