tianyun 3 anni fa
parent
commit
cfe2152fcd
1 ha cambiato i file con 0 aggiunte e 2 eliminazioni
  1. 0 2
      tmp/monkey/util.js

+ 0 - 2
tmp/monkey/util.js

@@ -5,7 +5,6 @@ function sleep(time) {
 async function getDom(sel) {
     for (let i = 0; i < 100; i++) {
         let dom = document.querySelector(sel);
-        console.log(dom);
         if (dom) {
             return dom;
         } else {
@@ -17,7 +16,6 @@ async function getDom(sel) {
 async function getDomAll(sel) {
     for (let i = 0; i < 100; i++) {
         let dom = document.querySelectorAll(sel);
-        console.log(dom);
         if (dom.length > 0) {
             return dom;
         } else {