From 0e5e2bac4730f743f0fc84a572fbf2f6b79f7afb Mon Sep 17 00:00:00 2001 From: chenrx Date: Fri, 7 Jun 2024 17:04:22 +0800 Subject: [PATCH] fixed --- pages/signup/code.js | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/pages/signup/code.js b/pages/signup/code.js index 027878b..f910f01 100644 --- a/pages/signup/code.js +++ b/pages/signup/code.js @@ -100,10 +100,15 @@ Page({ } /////接口方法 _.apiQuery.getappSignConf(params).then(res => { - + if (res.data.type == 'fail') { this.setData({ - fail_img:res.data.fail_img + fail_img: res.data.fail_img + }) + wx.showToast({ + title: res.data.msg, + icon: 'none', + duration: 2000, }) } else { this.setData({