It's a bad idea to put such young children near ANY dog. Toddlers will poke the dog's eyes, pull the dog's ears or balls, scream, shriek, cry etc. all of which are extremely irritating for ANY dog.
Here's a labrador doing the same thing.
https://www.mirror.co.uk/news/world-news/jealous-labrador-mauls-newborn-twin-22286373