Commit 7e19cd8b authored by 范雪寒's avatar 范雪寒

feat: setTimeout

parent d2330e49
......@@ -16,7 +16,7 @@ cc.Class({
// 生命周期
onDestroy() {
if(this.timeA){
if (this.timeA !== undefined) {
clearTimeout(this.timeA);
}
},
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment