Commit 1b145151 authored by wangqinghua's avatar wangqinghua

update

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