Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
M
mayi-mp-shop
Overview
Overview
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
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
程默
mayi-mp-shop
Commits
66ea6205
Commit
66ea6205
authored
Feb 26, 2021
by
程智春
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
动态设置首页title
parent
c4c24254
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
0 deletions
+5
-0
src/pages/home/index.vue
+5
-0
No files found.
src/pages/home/index.vue
View file @
66ea6205
...
@@ -170,6 +170,7 @@ export default {
...
@@ -170,6 +170,7 @@ export default {
// };
// };
},
},
onLoad
(
options
)
{
onLoad
(
options
)
{
let
location
=
JSON
.
parse
(
wx
.
getStorageSync
(
'location'
)
||
'{}'
)
let
location
=
JSON
.
parse
(
wx
.
getStorageSync
(
'location'
)
||
'{}'
)
// if (!location.areaGroupId) {
// if (!location.areaGroupId) {
// wx.redirectTo({
// wx.redirectTo({
...
@@ -242,6 +243,10 @@ export default {
...
@@ -242,6 +243,10 @@ export default {
this
.
pageData
=
JSON
.
parse
(
this
.
pageInfo
.
pageData
);
this
.
pageData
=
JSON
.
parse
(
this
.
pageInfo
.
pageData
);
console
.
log
(
"36"
,
this
.
pageData
);
console
.
log
(
"36"
,
this
.
pageData
);
console
.
log
(
app
.
globalData
.
shopInfo
,
'app'
)
wx
.
setNavigationBarTitle
({
title
:
app
.
globalData
.
shopInfo
.
shopName
})
wx
.
stopPullDownRefresh
()
wx
.
stopPullDownRefresh
()
},
},
scrolls
(
el
){
scrolls
(
el
){
...
...
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