优化message.js

This commit is contained in:
曾成 2020-03-25 12:52:50 +08:00
parent d0d3e62b7c
commit 1b080ff25c

View File

@ -17,8 +17,6 @@
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;