1111
This commit is contained in:
parent
93a3cb9b58
commit
e6c9b1b01d
@ -17,10 +17,10 @@ Page({
|
||||
/**
|
||||
* 生命周期函数--监听页面加载
|
||||
*/
|
||||
onLoad(options) {
|
||||
onShow(options) {
|
||||
var a = this;
|
||||
// 等待全局接口执行完成后再初始化页面
|
||||
e.pageStart(t).then(function() {
|
||||
e.pageStart(t).then(function () {
|
||||
a.initPage();
|
||||
});
|
||||
},
|
||||
@ -93,7 +93,7 @@ Page({
|
||||
mask: true
|
||||
});
|
||||
|
||||
e.request('/v2/miniprogram/substituteWash/pay', {token: a.data.token}, true).then(function (res) {
|
||||
e.request('/v2/miniprogram/substituteWash/pay', { token: a.data.token }, true).then(function (res) {
|
||||
wx.hideLoading();
|
||||
|
||||
if (res.code === 200) {
|
||||
@ -145,7 +145,7 @@ Page({
|
||||
// 如果不是支付成功状态,则重新初始化页面
|
||||
if (!this.data.paySuccess) {
|
||||
var a = this;
|
||||
e.pageStart(t).then(function() {
|
||||
e.pageStart(t).then(function () {
|
||||
a.initPage();
|
||||
});
|
||||
}
|
||||
@ -170,7 +170,7 @@ Page({
|
||||
*/
|
||||
onPullDownRefresh() {
|
||||
var a = this;
|
||||
e.pageStart(t).then(function() {
|
||||
e.pageStart(t).then(function () {
|
||||
a.initPage();
|
||||
wx.stopPullDownRefresh();
|
||||
});
|
||||
|
Loading…
x
Reference in New Issue
Block a user