A sworn affidavit is just as much subject to perjury charges as sworn testimony in open court.
Only if it is relevant and allowed into the record as testimony, and even then, perjury would have to be something material and demonstrably false, with a proven intent of lying. No, you can't and won't be charged with perjury, if you insist in an affidavit on a Trump fundraising site that you saw some unnamed person change votes, even though that never actually happened. Not how it works.
The affidavits, in this case, are garbage. Affidavits are nothing, until and unless they become sworn testimony in court. And if you had 100 people swear on a website that they saw someone change votes, yet not a shred of evidence of that actually happening, that would STILL get you absolutely nowhere. And not one of the affiants would ever be charged with perjury. In fact, as a lawyer, you would probably get your affidavits tossed back at you by the judge, as they don't reveal anything specific or material.
In this case, we have thousands of them with just as many different, varied, unevidenced claims. Like, they are all over the map. It's so obviously a hot pile of garbage that lawyers are getting sanctioned simply for trying to push them into a courtroom.