Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
saas
/
mini-program
/
hmd
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit f6eecb7f
authored
Jul 23, 2023
by
李伟康
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
修复BUG
1 parent
ba92aad5
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
8 deletions
pages/tab/mine/index.js
pages/tab/mine/index.js
View file @
f6eecb7
...
...
@@ -54,7 +54,9 @@ Page({
}
=
e
.
currentTarget
.
dataset
wx
.
p
.
router
.
go
(
url
)
},
getOrderNumberList
()
{
async
getOrderNumberList
()
{
const
loginStatus
=
await
wx
.
p
.
router
.
intercept
(
false
)
if
(
loginStatus
)
return
wx
.
p
.
api
.
mineApi
.
getOrderNumberList
().
then
(
res
=>
{
this
.
setData
({
orderNumberList
:
[
res
.
unPayCount
,
res
.
unShippedCount
,
res
.
unReceivedCount
,
res
.
unServiceCount
]
...
...
@@ -127,13 +129,8 @@ Page({
* 生命周期函数--监听页面显示
*/
onShow
()
{
let
{
userInfo
}
=
this
.
data
if
(
userInfo
&&
userInfo
.
phone
)
{
this
.
getOrderNumberList
()
this
.
toCheckMember
()
}
this
.
getOrderNumberList
()
this
.
toCheckMember
()
},
/**
...
...
Write
Preview
Markdown
is supported
Attach a file
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 post a comment