On the basis of the SIQR epidemic model, we consider the impact of treatment time on the epidemic situation, and we present a differential equation model with time-delay according to the characteristics of COVID-19. Firstly, we analyze the existence and stability of the equilibria in the modified COVID-19 epidemic model. Secondly, we analyze the existence of Hopf bifurcation, and derive the normal form of Hopf bifurcation by using the multiple time scales method. Then, we determine the direction of Hopf bifurcation and the stability of bifurcating periodic solutions. Finally, we carry out numerical simulations to verify the correctness of theoretical analysis with actual parameters, and show conclusions associated with the critical treatment time and the effect on epidemic for treatment time.