Selaa lähdekoodia

验证码连续发送错误提示

lucheng 1 vuosi sitten
vanhempi
commit
6b9f501769

+ 2 - 1
pages/bindPhone/bindPhone.js

@@ -133,10 +133,11 @@ Page({
       },
       method: 'POST',
       success(res) {
+        console.info(res)
         if (res.data.code == 1) {
           wx.showModal({
             title: '提示',
-            content:res.msg,
+            content:res.data.msg,
             showCancel:false,
             confirmColor:'#00AADD'
           });

+ 1 - 1
pages/login/phone_login/phone_login.js

@@ -137,7 +137,7 @@ Page({
         if (res.data.code == 1) {
           wx.showModal({
             title: '提示',
-            content:res.msg,
+            content:res.data.msg,
             showCancel:false,
             confirmColor:'#00AADD',
           });

+ 1 - 1
pages/ucenter/accountsecurity/unbindphone/unbindphone.js

@@ -137,7 +137,7 @@ Page({
         if (res.data.code == 1) {
           wx.showModal({
             title: '提示',
-            content:res.msg,
+            content:res.data.msg,
             showCancel:false,
             confirmColor:'#00AADD',
           });