Toggle navigation
Toggle navigation
This project
Loading...
Sign in
fe
/
yohobuy-portal-fe
·
Commits
Go to a project
GitLab
Go to group
Project
Activity
Files
Commits
Pipelines
0
Builds
0
Graphs
Milestones
Issues
0
Merge Requests
0
Members
Labels
Wiki
Forks
Network
Create a new issue
Download as
Email Patches
Plain Diff
Browse Files
Authored by
weiqingting
9 years ago
Commit
8cf3ead1d9016eb3de0bb94916401a666bb2c8b1
1 parent
f4648512
提交
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
client/js/common/util.js
client/js/guang/contentEdit.js
client/js/common/util.js
View file @
8cf3ead
...
...
@@ -283,7 +283,7 @@ var util = {
},
__joinImg
:
function
(
bucket
,
url
)
{
var
urlArr
=
url
.
split
(
'/'
);
var
domain
=
'static.yhbimg.com
/'
+
bucket
;
var
domain
=
'static.yhbimg.com
'
+
"/"
+
bucket
;
var
num
=
urlArr
[
urlArr
.
length
-
1
].
substr
(
1
,
1
);
var
url
=
domain
+
url
;
if
(
num
==
1
)
{
...
...
client/js/guang/contentEdit.js
View file @
8cf3ead
...
...
@@ -131,7 +131,7 @@ var Bll = {
Bll
.
module
.
contentData
.
data
=
common
.
util
.
__buildobj
(
names
,
'.'
,
Bll
.
module
.
contentData
.
data
,
function
(
o
,
name
)
{
o
[
name
]
=
obj
.
data
;
});
console
.
log
(
Bll
.
module
.
contentData
);
}
});
},
...
...
@@ -541,7 +541,7 @@ $(document).on("click", "#submit", function() {
res
=
res
.
data
;
if
(
res
.
code
==
"200"
)
{
e
.
$tip
(
"提交成功"
,
function
()
{
location
.
href
=
"/guang/article/index"
//
location.href="/guang/article/index"
},
'growl-success'
);
}
else
{
e
.
$tip
(
res
.
message
);
...
...
Please
register
or
login
to post a comment