Showing
1 changed file
with
0 additions
and
1 deletions
| ... | ... | @@ -36,7 +36,6 @@ function callback(mutationList, observer) { |
| 36 | 36 | case "childList": |
| 37 | 37 | /* 从树上添加或移除一个或更多的子节点;参见 mutation.addedNodes 与 |
| 38 | 38 | mutation.removedNodes */ |
| 39 | - console.log("mutation", mutation); | |
| 40 | 39 | const nodes = mutation.addedNodes; |
| 41 | 40 | nodes.forEach((node) => { |
| 42 | 41 | if ( | ... | ... |