A cleaning device, which includes a clean water tank, a water pump and a cleaning head. A water outlet of the clean water tank is connected with the water pump, and a water outlet of the water pump is connected with the cleaning head through an outlet pipe. The cleaning device further includes an outlet control switch and a one-way water hydraulic control valve. The outlet control switch is provided on the outlet pipe a water inlet of the one-way water hydraulic control valve is connected with the outlet pipe, and a joint of the water inlet of the one-way water hydraulic control valve and the outlet pipe is disposed between the outlet control switch and the water pump and a water outlet of the one-way water hydraulic control valve is communicated with a water inlet of the clean water tank.