Only the first frame of the animation appears

Only the first frame of my character’s attack animation appears, could you tell me what the problem is.

Anything that involves setting an animation should always include trigger once.
Add trigger once to your second event, as well.

This is true for any of your other animations you might have, as they will conflict with your events here.