The leaves serve a couple of purposes.
First of course they provide insulation, a blanket of sorts. Which in the case of raised beds with floors off the ground is pretty much a requirement.
Second, as the leaves disintegrate, they provide fiber and some nutrients to the growing medium.
Cheers,
Nog