Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
S
smart
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wangqinghua
smart
Commits
1b145151
Commit
1b145151
authored
Jan 17, 2019
by
wangqinghua
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update
parent
06fd5604
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
5 additions
and
8 deletions
+5
-8
app.constants.ts
src/main/webapp/app/app.constants.ts
+3
-4
app.module.ts
src/main/webapp/app/app.module.ts
+1
-1
util.js
src/main/webapp/content/javascript/jtopo/js/util.js
+1
-3
No files found.
src/main/webapp/app/app.constants.ts
View file @
1b145151
...
...
@@ -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/"
;
src/main/webapp/app/app.module.ts
View file @
1b145151
...
...
@@ -45,7 +45,7 @@ import {AppMainModule} from './app.main.module';
CommonModule
,
FormsModule
,
ReactiveFormsModule
,
RouterModule
.
forRoot
(
route
)
RouterModule
.
forRoot
(
route
,{
useHash
:
true
}
)
],
declarations
:
[
ErrorComponent
,
...
...
src/main/webapp/content/javascript/jtopo/js/util.js
View file @
1b145151
...
...
@@ -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/'
;
/*
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment