From d0d3e62b7c82ab77729b66dbb9f86a9a8d2f479b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9B=BE=E6=88=90?= <121184950@qq.com> Date: Wed, 25 Mar 2020 12:07:40 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=94=B9=E9=AA=8C=E8=AF=81=E8=AE=A1?= =?UTF-8?q?=C3=A6=E8=AE=A1=E6=97=B6=E5=99=A8=E4=B8=BA2=E7=A7=92?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- public/components/addStaffView/addStaffView.html | 2 +- public/frameComponents/message/message.js | 6 ++++-- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/public/components/addStaffView/addStaffView.html b/public/components/addStaffView/addStaffView.html index 10bfd547c..4bd6daffe 100644 --- a/public/components/addStaffView/addStaffView.html +++ b/public/components/addStaffView/addStaffView.html @@ -47,7 +47,7 @@
- +
diff --git a/public/frameComponents/message/message.js b/public/frameComponents/message/message.js index 4a32a0f08..e83b8605e 100644 --- a/public/frameComponents/message/message.js +++ b/public/frameComponents/message/message.js @@ -14,9 +14,11 @@ methods:{ //验证码定时 messageTimer:function(){ - var num = 10; + var num = 2; var _timer = vc.createTimer(function(){ num --; + console.log(num); + console.log(num === 1); if(num === 1){ vc.clearTimer(_timer); vm.messageInfo.hide=true; @@ -43,4 +45,4 @@ } } -})(window.vc) \ No newline at end of file +})(window.vc)