When high temperatures are consistent, some plants will drop buds or flowers. This is common in cucumbers, peppers, and squash. But usually, when temperatures drop again, normal production resumes.
For cool season veg like broccoli, cauliflower, lettuce and spinach, high temperatures can lead to bolting. Bolting is when the plants flower prematurely and put energy into producing seed.