Commit eb661895 authored by wangqinghua's avatar wangqinghua

update

parent 043f0db5
...@@ -19,3 +19,12 @@ export const color = { ...@@ -19,3 +19,12 @@ export const color = {
export const serverPath = "http://10.10.38.99:8282"; export const serverPath = "http://10.10.38.99:8282";
export const imgUrl = serverPath + "/file/icon/"; export const imgUrl = serverPath + "/file/icon/";
export const fileUrl = serverPath + "/file/"; export const fileUrl = serverPath + "/file/";
// //图片地址
// const urlPath = window.document.location.href; //浏览器显示地址
// const docPath = window.document.location.pathname; //文件在服务器相对地址
// const index = urlPath.indexOf(docPath);
// const serverPath = urlPath.substring(0, index);//服务器地址
// export const imgUrl = serverPath + "file/icon/";
// // export const fileUrl = "http://10.10.38.99:8282/file/";
// export const fileUrl = serverPath + "file/";
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment