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
ca41f9f3
Commit
ca41f9f3
authored
May 07, 2018
by
Junling Bu
Browse files
fix[litemall-wx]: 进一步修复订单详情里面的支付问题。
当支付成功以后,应该在页面显示时重新加载订单列表信息,从而获取订单支付成功信息。
parent
e76cc9ac
Changes
1
Hide whitespace changes
Inline
Side-by-side
litemall-wx/pages/ucenter/order/order.js
View file @
ca41f9f3
...
@@ -8,7 +8,6 @@ Page({
...
@@ -8,7 +8,6 @@ Page({
},
},
onLoad
:
function
(
options
){
onLoad
:
function
(
options
){
// 页面初始化 options为页面跳转所带来的参数
// 页面初始化 options为页面跳转所带来的参数
this
.
getOrderList
();
},
},
getOrderList
(){
getOrderList
(){
let
that
=
this
;
let
that
=
this
;
...
@@ -33,6 +32,7 @@ Page({
...
@@ -33,6 +32,7 @@ Page({
},
},
onShow
:
function
(){
onShow
:
function
(){
// 页面显示
// 页面显示
this
.
getOrderList
();
},
},
onHide
:
function
(){
onHide
:
function
(){
// 页面隐藏
// 页面隐藏
...
...
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