dev
xiaowen 3 years ago
parent 9862695f49
commit fc70cfba35

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

Loading…
Cancel
Save