What is claimed is:1. A waterproof electronic device, comprising:a body comprising a first hole and a chamber, wherein the first hole penetrates the body and communicates with an external environment;a one-way valve disposed on an inner surface of the body, wherein the one-way valve communicates with the first hole; and the one-way valve has a main runner, a plurality of shunt runners, and a plurality of stopper blocks, wherein each of the stopper blocks is located between the main runner and the corresponding shunt runner; anda cover disposed on the one-way valve, wherein the cover comprises a second hole, wherein the second hole communicates with the one-way valve and the chamber,wherein, in response to a fluid entering the one-way valve from the second hole, the fluid is discharged from the body through the first hole, and in response to the fluid entering the one-way valve from the first hole, the fluid generates a resistance in the one-way valve.2. The waterproof electronic device as claimed in claim 1, wherein the one-way valve is a Tesla valve.3. The waterproof electronic device as claimed in claim 2, wherein in response to the fluid entering the one-way valve from the second hole, the fluid is guided by each of the stopper blocks, flows into the main runner and the corresponding shunt runner, and is shunted into a first fluid and a second fluid, wherein the first fluid and the second fluid converge in the main runner after passing through the corresponding stopper block.4. The waterproof electronic device as claimed in claim 2, wherein in response to the fluid entering the one-way valve from the first hole and a flow velocity of the fluid being greater than a threshold value, the fluid is guided by each of the stopper blocks, flows into the main runner and the corresponding shunt runner, and is shunted into a first fluid and a second fluid, wherein the second fluid generates a whirlpool in the main runner after passing through the corresponding stopper block.5. The waterproof electronic device as claimed in claim 2, wherein there is a vertical distance and a horizontal distance between the adjacent stopper blocks.6. The waterproof electronic device as claimed in claim 2, wherein each of the stopper blocks has a flat surface and a curved surface, wherein the flat surface is parallel to the main runner, and the curved surface is parallel to the corresponding shunt runner.7. The waterproof electronic device as claimed in claim 1, wherein the body comprises a first case and a second case, wherein the second case is disposed on the first case so as to jointly form the chamber.8. The waterproof electronic device as claimed in claim 7, wherein the first case has a groove and a permeable film, wherein the groove is disposed on an outer surface of the first case and communicates with the first hole; and the permeable film is disposed in the groove so as to cover the first hole.9. The waterproof electronic device as claimed in claim 1, wherein the plurality of stopper blocks are staggeredly distributed along the main runner of the one-way valve.