优化支付失败提示
This commit is contained in:
@@ -243,7 +243,7 @@
|
||||
}, { WT: token });
|
||||
|
||||
if (res.code !== 200) {
|
||||
uni.showToast({ title: res.msg, icon: 'none' });
|
||||
uni.showToast({ title: res.message, icon: 'none' });
|
||||
this.isPaying = false;
|
||||
return;
|
||||
}
|
||||
@@ -271,7 +271,7 @@
|
||||
|
||||
} catch (error) {
|
||||
console.error('支付请求异常', error);
|
||||
uni.showToast({ title: '支付请求失败', icon: 'none' });
|
||||
uni.showToast({ title: '支付请求失败: ' + error, icon: 'none' });
|
||||
this.isPaying = false;
|
||||
}
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user