Using a lid while stir-frying will trap moisture and can cause your vegetables to steam rather than fry. This will often lead to softer and more limp vegetables and is generally not recommended for stir-frying.