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()
|
||||
},
|
||||
|
||||
/**
|
||||
* 生命周期函数--监听页面隐藏
|
||||
|
@ -30,6 +30,7 @@
|
||||
placeholder="请输入持卡人身份证号"
|
||||
data-field="idCardNumber"
|
||||
bindinput="handleInputChange"
|
||||
type="idcard"
|
||||
value="{{ idCardNumber }}"
|
||||
/>
|
||||
</view>
|
||||
|
@ -18,7 +18,9 @@ Page({
|
||||
|
||||
resetPwd() {
|
||||
const { phone, verificationCode, password, currentPwd } = this.data;
|
||||
formatPassword(password,currentPwd);
|
||||
if( !formatPassword(password,currentPwd) ) {
|
||||
return;
|
||||
}
|
||||
wx.request({
|
||||
url: baseUrl + '/userInfo/mini/in/reset/pwd',
|
||||
method: 'POST',
|
||||
|
@ -74,7 +74,6 @@ Page({
|
||||
* 生命周期函数--监听页面加载
|
||||
*/
|
||||
onLoad(options) {
|
||||
this.getAccountInfo()
|
||||
},
|
||||
|
||||
/**
|
||||
|
Reference in New Issue
Block a user