The preview window has been rotating around the z axis

I opened the project early today and saw that the preview window has been rotating around the z axis.
I tried to fix it. First I ran the game and found that as soon as I walked around the character, the camera would unconsciously rotate around the world.
Then check whether it is input from peripherals, unplug the mouse and keyboard, and find that it is still rotating.
I created a new project and the window still rotates.
I opened the 4.18 version of the project again and found that it was still spinning. I was very disappointed.
Help