All White render

The viewport render is fine, but when i press f12 for render, the final render is all white!How to fix this?