I'd say the worst that could have happened is jacking up the fan motor if you were spraying it directly for a long period of time. Also if you kept the spray fixated on pretty much anything, the extreme temperature gradient could have cracked something.
If you weren't intentionally trying to break something, your PSU is fine. You can spray stuff out even when the computer is running and there won't be any problems.