mirror of
https://gitee.com/java110/MicroCommunityWeb.git
synced 2026-02-24 05:46:03 +08:00
优化message.js
This commit is contained in:
parent
d0d3e62b7c
commit
1b080ff25c
@ -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;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user