commission--yt-commit
This commit is contained in:
@ -217,8 +217,11 @@ Page({
|
||||
icon: 'success',
|
||||
});
|
||||
// 这里可以跳转到其他页面
|
||||
wx.navigateTo({
|
||||
url: '/pages/personCenter/withdrawal/withdrawal',
|
||||
let pages = getCurrentPages(); // 获取小程序页面栈
|
||||
let beforePage = pages[pages.length - 2]; // 获取上个页面的实例对象
|
||||
beforePage.getAccountInfo();
|
||||
wx.navigateBack({
|
||||
delta:1
|
||||
});
|
||||
},
|
||||
fail(err) {
|
||||
@ -251,7 +254,9 @@ Page({
|
||||
/**
|
||||
* 生命周期函数--监听页面显示
|
||||
*/
|
||||
onShow() {},
|
||||
onShow() {
|
||||
this.getAccountInfo()
|
||||
},
|
||||
|
||||
/**
|
||||
* 生命周期函数--监听页面隐藏
|
||||
|
Reference in New Issue
Block a user