Commit 1b145151 authored by wangqinghua's avatar wangqinghua

update

parent 06fd5604
...@@ -16,7 +16,6 @@ export const color = { ...@@ -16,7 +16,6 @@ export const color = {
black:'#6064' black:'#6064'
}; };
//图片地址 //图片地址
export const path = window.document.location.href.slice(); export const serverPath = "http://10.10.38.99:8282";
export const imgUrl = path + "/file/icon/"; export const imgUrl = serverPath + "/file/icon/";
// export const fileUrl = "http://10.10.38.99:8282/file/"; export const fileUrl = serverPath + "/file/";
export const fileUrl = path + "/file/";
...@@ -45,7 +45,7 @@ import {AppMainModule} from './app.main.module'; ...@@ -45,7 +45,7 @@ import {AppMainModule} from './app.main.module';
CommonModule, CommonModule,
FormsModule, FormsModule,
ReactiveFormsModule, ReactiveFormsModule,
RouterModule.forRoot(route) RouterModule.forRoot(route,{useHash: true})
], ],
declarations: [ declarations: [
ErrorComponent, ErrorComponent,
......
...@@ -17,9 +17,7 @@ var SysUtil = { ...@@ -17,9 +17,7 @@ var SysUtil = {
} }
} }
// url根路径 // url根路径
// var rootPath = "http://10.10.38.99:8282"; var rootPath = "http://10.10.38.99:8282";
var rootPath = window.document.location.href;
// var topoImgPath = 'javascript/jtopo/img/';
var topoImgPath = rootPath + '/file/icon/'; var topoImgPath = rootPath + '/file/icon/';
/* /*
......
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