I hate to tell you but there is no cure for this, my toddler is the same way, and I've met a 4 yr old who is now 12yrs old and he's still throwing up after eating if it's something he usually don't eat, or something with small pcs or etc,,,
The thing that's been working for our son is to talk him thru when you see their not gonna keep it in their stomach (like remind her what she just ate, take it out with her fingers if there's something in her mouth) etc,,, Good luck, I know it's not fun, and often embarrasing when out to a restaurant or at a friends house.