Toggle navigation
Toggle navigation
This project
Loading...
Sign in
fe
/
yohobuywap-node
·
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
张孝茹
7 years ago
Commit
b59f89bb8da08ec58b8fbb9494de27030310f67b
1 parent
e65d5eb4
head ico
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
0 deletions
apps/home/models/family.js
apps/home/models/family.js
View file @
b59f89b
...
...
@@ -445,6 +445,11 @@ class familyModel extends global.yoho.BaseModel {
let
familyIndexData
=
{};
if
(
result
[
0
]
&&
result
[
0
].
data
)
{
if
(
result
[
0
].
data
.
headIco
)
{
result
[
0
].
data
.
headIco
=
result
[
0
].
data
.
headIco
.
replace
(
'img01.yohomars.com'
,
'imgmars.yohobuy.com'
).
replace
(
'img02.yohomars.com'
,
'imgmars.yohobuy.com'
);
// eslint-disable-line
}
familyIndexData
=
_
.
assign
(
familyIndexData
,
{
head_ico
:
result
[
0
].
data
.
headIco
,
nickname
:
result
[
0
].
data
.
nickName
,
...
...
Please
register
or
login
to post a comment