A refrigerator with an ice maker, comprising: a refrigerator body, having a cryogenic storage compartment; a partition plate, disposed at an inner liner of the refrigerator body to partition the cryogenic storage compartment; an ice maker disposed in the cryogenic storage compartment; the ice maker comprising: an ice maker rack, fixedly mounted on the partition plate; an ice tray, detachably mounted in the ice maker rack, the ice tray comprising: an ice tray rack detachably mounted in the ice maker rack; an ice cube tray disposed in the ice tray rack; an ice-overturning motor disposed at a side of the ice tray rack; an ice detection rod disposed on the ice-overturning motor; characterized in further comprising: a magnet, disposed on the ice tray; a magnetism-sensitive switch, disposed at the bottom of the partition plate to perceive whether the ice tray is injected with water from a water tank in cooperation with the magnet; a handle, disposed at an end of the ice tray rack away from the ice-overturning motor; and a knob, rotatably disposed at an end of the ice maker rack to rotatably lock or unlock the handle and the ice maker rack. a refrigerator body, having a cryogenic storage compartment; a partition plate, disposed at an inner liner of the refrigerator body to partition the cryogenic storage compartment; an ice maker disposed in the cryogenic storage compartment; the ice maker comprising: an ice maker rack, fixedly mounted on the partition plate; an ice tray, detachably mounted in the ice maker rack, the ice tray comprising: an ice tray rack detachably mounted in the ice maker rack; an ice cube tray disposed in the ice tray rack; an ice-overturning motor disposed at a side of the ice tray rack; an ice detection rod disposed on the ice-overturning motor; characterized in further comprising: a magnet, disposed on the ice tray; a magnetism-sensitive switch, disposed at the bottom of the partition plate to perceive whether the ice tray is injected with water from a water tank in cooperation with the magnet; a handle, disposed at an end of the ice tray rack away from the ice-overturning motor; and a knob, rotatably disposed at an end of the ice maker rack to rotatably lock or unlock the handle and the ice maker rack. an ice maker rack, fixedly mounted on the partition plate; an ice tray, detachably mounted in the ice maker rack, the ice tray comprising: an ice tray rack detachably mounted in the ice maker rack; an ice cube tray disposed in the ice tray rack; an ice-overturning motor disposed at a side of the ice tray rack; an ice detection rod disposed on the ice-overturning motor; characterized in further comprising: a magnet, disposed on the ice tray; a magnetism-sensitive switch, disposed at the bottom of the partition plate to perceive whether the ice tray is injected with water from a water tank in cooperation with the magnet; a handle, disposed at an end of the ice tray rack away from the ice-overturning motor; and a knob, rotatably disposed at an end of the ice maker rack to rotatably lock or unlock the handle and the ice maker rack. an ice tray rack detachably mounted in the ice maker rack; an ice cube tray disposed in the ice tray rack; an ice-overturning motor disposed at a side of the ice tray rack; an ice detection rod disposed on the ice-overturning motor; characterized in further comprising: a magnet, disposed on the ice tray; a magnetism-sensitive switch, disposed at the bottom of the partition plate to perceive whether the ice tray is injected with water from a water tank in cooperation with the magnet; a handle, disposed at an end of the ice tray rack away from the ice-overturning motor; and a knob, rotatably disposed at an end of the ice maker rack to rotatably lock or unlock the handle and the ice maker rack.