What version of High Sierra are you using?
10.13.2, I have found the problem. I found that the problem is my monitor, my previous monitor is 2K resolution, when I changed to a 1080P monitor, there is no problem. I am curious what caused this result.
In addition, the current state is when I put all the two monitors connected by HDMI, only one is displayed, the other no signal.