Stomach flu?

My daughter (7months) has gastroenteritis (stomach flu) but she can keep juice and pedaliyte down but not her milk what can this be can it be anything other then stomach flu? And will the juice and pedaliyte be okay till she can keep her milk down???