This paper studies the dynamic event-triggered consensus of general linear multi-agent systems under cyber-attacks. Considering that the states of the attacked nodes will change after multi-agent systems are affected by cyber-attacks, which results in the failure of their corresponding connections, some repair strategies are designed to restore the attacked nodes and their corresponding connections, and a distributed event-triggered control protocol is given. Based on the static event-triggered mechanism, a dynamic event-triggered mechanism is proposed by introducing dynamic threshold parameters. Furthermore, using the graph theory, linear matrix inequality and Lyapunov function method, sufficient conditions for realizing the consensus of multi-agent systems under cyber-attacks are given, and it is proved that Zeno behavior can be effectively avoided under the proposed dynamic event-triggered conditions. Finally, a simulation example is supplied to verify the effectiveness of the theoretical results.