How can I hide or display several selected layers of a group at once

As shown in the pic,how can I hide or display all these selected layers at once? I must click one by one?It will be very high workload if we have hundreds of layers。

Answers