It's a legal gray area, it could be a campaign finance violation but he could argue some of the cases are campaign related.
The justice system has always been extremely light on Trump, so anything in a legal "gray area" might as well be assumed to be fully in the clear for him.