update
init
This commit is contained in:
@@ -0,0 +1,8 @@
|
||||
/*
|
||||
* 获取文件、 图片前缀地址
|
||||
* */
|
||||
export const getFileUrl = (url: string) => {
|
||||
const getUrl = sessionStorage.getItem('url');
|
||||
const prefix = `${getUrl}/file/show/${url}`;
|
||||
return prefix;
|
||||
};
|
||||
Reference in New Issue
Block a user