Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
jinli gu
Litemall
Commits
bd5e56ab
Unverified
Commit
bd5e56ab
authored
May 03, 2021
by
uuz.vva
Committed by
GitHub
May 03, 2021
Browse files
添加函数返回 (#478)
wx.naviageTo是异步的。这里需要返回语句。
parent
092c8af0
Changes
1
Hide whitespace changes
Inline
Side-by-side
litemall-wx/pages/coupon/coupon.js
View file @
bd5e56ab
...
...
@@ -106,6 +106,7 @@ Page({
wx
.
navigateTo
({
url
:
"
/pages/auth/login/login
"
});
return
;
}
let
couponId
=
e
.
currentTarget
.
dataset
.
index
...
...
@@ -146,4 +147,4 @@ Page({
});
this
.
getCouponList
();
}
})
\ No newline at end of file
})
Write
Preview
Supports
Markdown
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