init
This commit is contained in:
2025-06-27 17:42:38 +08:00
commit bd6402478b
5317 changed files with 785994 additions and 0 deletions
+8
View File
@@ -0,0 +1,8 @@
/*
* 获取文件、 图片前缀地址
* */
export const getFileUrl = (url: string) => {
const getUrl = sessionStorage.getItem('url');
const prefix = `${getUrl}/file/show/${url}`;
return prefix;
};