Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
C
cloud-platform-ui
Project
Project
Details
Activity
Releases
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
youjj
cloud-platform-ui
Commits
18d1004b
Commit
18d1004b
authored
Aug 05, 2019
by
lixy
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
域名
parent
f66fdbfd
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
5 deletions
+6
-5
ueditor.config.js
static/utf8-jsp/ueditor.config.js
+6
-5
No files found.
static/utf8-jsp/ueditor.config.js
View file @
18d1004b
...
@@ -20,7 +20,7 @@
...
@@ -20,7 +20,7 @@
* window.UEDITOR_HOME_URL = "/xxxx/xxxx/";
* window.UEDITOR_HOME_URL = "/xxxx/xxxx/";
*/
*/
// window.UEDITOR_HOME_URL = "/static/utf8-jsp/";
// window.UEDITOR_HOME_URL = "/static/utf8-jsp/";
var
URL
=
document
.
domain
;
var
getHost
=
function
(
url
)
{
var
getHost
=
function
(
url
)
{
var
host
=
"null"
;
var
host
=
"null"
;
if
(
typeof
url
==
"undefined"
if
(
typeof
url
==
"undefined"
...
@@ -30,10 +30,10 @@
...
@@ -30,10 +30,10 @@
var
match
=
url
.
match
(
regex
);
var
match
=
url
.
match
(
regex
);
if
(
typeof
match
!=
"undefined"
if
(
typeof
match
!=
"undefined"
&&
null
!=
match
)
&&
null
!=
match
)
host
=
match
[
1
];
host
=
match
[
1
]
+
"/"
;
return
host
;
return
host
;
}
}
var
URL
=
getHost
();
/**
/**
* 配置项主体。注意,此处所有涉及到路径的配置别遗漏URL变量。
* 配置项主体。注意,此处所有涉及到路径的配置别遗漏URL变量。
*/
*/
...
@@ -445,9 +445,10 @@
...
@@ -445,9 +445,10 @@
function
getUEBasePath
(
docUrl
,
confUrl
)
{
debugger
function
getUEBasePath
(
docUrl
,
confUrl
)
{
return
URL
;
return
getBasePath
(
docUrl
||
self
.
document
.
URL
||
self
.
location
.
href
,
confUrl
||
getConfigFilePath
());
//
return getBasePath(docUrl || self.document.URL || self.location.href, confUrl || getConfigFilePath());
}
}
...
...
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