|
@@ -51,7 +51,7 @@
|
|
|
uni.redirectTo({
|
|
uni.redirectTo({
|
|
|
url: '../index/index'
|
|
url: '../index/index'
|
|
|
})
|
|
})
|
|
|
-
|
|
|
|
|
|
|
+
|
|
|
return;
|
|
return;
|
|
|
}
|
|
}
|
|
|
// 测试环境
|
|
// 测试环境
|
|
@@ -144,10 +144,14 @@
|
|
|
success: (res) => {
|
|
success: (res) => {
|
|
|
// console.log(res);
|
|
// console.log(res);
|
|
|
if (res.errMsg == 'requestPayment:ok') {
|
|
if (res.errMsg == 'requestPayment:ok') {
|
|
|
- this.$store.state.payInfo.from = 'reshui_pay'
|
|
|
|
|
- this.$store.state.payInfo.resultMsg = '支付成功'
|
|
|
|
|
- this.$store.state.reshui_amount = this.amount
|
|
|
|
|
-
|
|
|
|
|
|
|
+ this.$store.state.payInfo.from = 'reshui_pay';
|
|
|
|
|
+ this.$store.state.payInfo.resultMsg = '支付成功';
|
|
|
|
|
+ this.$store.state.reshui_amount = this.amount;
|
|
|
|
|
+
|
|
|
|
|
+ uni.$emit('update_reshui_amount', {
|
|
|
|
|
+ msg: '充值成功,刷新金额!'
|
|
|
|
|
+ });
|
|
|
|
|
+
|
|
|
uni.navigateBack({
|
|
uni.navigateBack({
|
|
|
delta: 1
|
|
delta: 1
|
|
|
});
|
|
});
|