Toggle navigation
Toggle navigation
This project
Loading...
Sign in
fe
/
yoho-blk
·
Commits
Go to a project
GitLab
Go to group
Project
Activity
Files
Commits
Pipelines
0
Builds
0
Graphs
Milestones
Issues
0
Merge Requests
1
Members
Labels
Wiki
Forks
Network
Create a new issue
Download as
Email Patches
Plain Diff
Browse Files
Authored by
姜枫
9 years ago
Commit
3ea073ee56b399375a72eb7b3db06ecbb1313adb
1 parent
447fd9c0
fix shop page title
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletions
apps/product/controllers/shop.js
apps/product/controllers/shop.js
View file @
3ea073e
...
...
@@ -40,6 +40,7 @@ const shop = {
nav
:
nav
};
data
.
banner
=
result
;
data
.
title
=
result
.
name
;
data
.
shopId
=
result
.
shopId
;
data
.
mores
=
{};
result
.
menus
.
forEach
(
m
=>
{
...
...
@@ -110,7 +111,7 @@ const shop = {
ShopData
.
getShopHeadData
(
domain
,
shopId
,
uid
).
then
(
result
=>
{
data
.
banner
=
result
;
data
.
title
=
result
.
name
;
if
(
data
.
banner
.
banner
)
{
data
.
banner
.
banner
=
data
.
banner
.
banner
.
split
(
'?'
)[
0
];
}
...
...
Please
register
or
login
to post a comment