The simple pendulum equation of free-electron laser with a constant axial magnetic field is derived in the co-frequency frame. The effect of the axial field on the wavelength and differential power of the scattered radiation and the gain of the Compton-type free-electron laser are discussed.