I think it's best not to use it, because the mother will pass the food to the child through the milk, and the child's spleen and stomach are delicate, which may cause diarrhea and the like, so it's best not to use it.
For weight loss during lactation, you can exercise properly, but don't exercise excessively, so as not to affect your child's breastfeeding.