What effect does vomiting have on pH levels?

Very little, however it is likely to have an effect on the amount of free chlorine available in the pools water. So avoid the risk of spreading an illness through the water by cleaning it out of the pool and immediately shocking the pool.