mirror of
https://gitee.com/java110/MicroCommunityWeb.git
synced 2026-06-12 10:00:56 +08:00
优化message.js
This commit is contained in:
parent
d0d3e62b7c
commit
1b080ff25c
@ -17,8 +17,6 @@
|
|||||||
var num = 2;
|
var num = 2;
|
||||||
var _timer = vc.createTimer(function(){
|
var _timer = vc.createTimer(function(){
|
||||||
num --;
|
num --;
|
||||||
console.log(num);
|
|
||||||
console.log(num === 1);
|
|
||||||
if(num === 1){
|
if(num === 1){
|
||||||
vc.clearTimer(_timer);
|
vc.clearTimer(_timer);
|
||||||
vm.messageInfo.hide=true;
|
vm.messageInfo.hide=true;
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user