Seems that in their haste to have Trump in court during the election campaign, the prosecutors neglected to have a serious charge to apply, and are throwing as many accusations at him as possible in the hope that one may stick.
If they fail to convict, they are just giving Trump more popularity, but if they do convict it will be seen as a politically inspired conviction so he will become more popular. One wonders in what reality those prosecutors live that they got it so wrong.
In any event, even a conviction does not remove him from the ballot.