Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
7
7-Eleven
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
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
高淑倩
7-Eleven
Commits
1c2bc07f
Commit
1c2bc07f
authored
Jun 04, 2019
by
高淑倩
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
modify: 首页Loading
parent
128bffd5
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
+3
-2
userCenter.js
src/pages/userCenter/userCenter.js
+3
-2
No files found.
src/pages/userCenter/userCenter.js
View file @
1c2bc07f
...
...
@@ -65,7 +65,6 @@ wxService.page({
wxService
.
post
(
`/merchant/modelPage/getDetailById?pageId=3`
).
then
(
res
=>
{
const
{
result
,
data
}
=
res
.
data
if
(
result
==
0
){
wx
.
hideLoading
()
// 动态设置title
wx
.
setNavigationBarTitle
({
title
:
data
.
page
.
title
...
...
@@ -77,7 +76,7 @@ wxService.page({
...
res
,
index
}
}).
filter
(
item
=>
{
// wx.hideLoading()
})
const
render
=
renderPage
.
initPaging
(
filterResult
).
initRenderData
(
products
)
...
...
@@ -103,6 +102,8 @@ wxService.page({
this
.
setData
({
...
productData
},()
=>
{
wx
.
hideLoading
()
})
},
...
...
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