优化演示环境下的 验证码

This commit is contained in:
java110 2022-08-31 15:06:32 +08:00
parent f8e3be5310
commit 1e9df425be

View File

@ -55,7 +55,7 @@
}, },
methods: { methods: {
sendMsgCode: function() { sendMsgCode: function() {
var _that = this; let _that = this;
let obj = { let obj = {
tel: this.link tel: this.link
}; };
@ -87,9 +87,9 @@
// //
if (res.statusCode == 200) { if (res.statusCode == 200) {
wx.showToast({ wx.showToast({
title: '验证码下发成功', title: res.data,
icon: 'none', icon: 'none',
duration: 2000 duration: 3000
}); });
_that.codeMsg = res.data; _that.codeMsg = res.data;
wx.hideLoading(); wx.hideLoading();