dev
xiaowen 3 years ago
parent 9862695f49
commit fc70cfba35

@ -273,9 +273,9 @@ function wrapTouch(event) {
return event; return event;
} }
function hasNode(res) { function hasNode(res, func) {
if(res) { if(res) {
return true func(res)
} else { } else {
setTimeout(() => { setTimeout(() => {
hasNode(res) hasNode(res)

Loading…
Cancel
Save