src/static/tool.js
@@ -1,10 +1,4 @@ import { baseUrl, } from "../utils/request/req1" import { baseUrl } from "../utils/request/req1"; export const getImg = (path) => { return baseUrl + "/picture/getImageByFilePath?filePath=" + path } export const getFile = (path) => { return baseUrl + "/file/getFileByFilePath?filePath=" + path } return baseUrl + "/picture/getImageByFilePath?filePath=" + path; };