An electronic device, comprising a middle frame, wherein the middle frame comprises a bezel and a middle plate; the bezel is disposed around an edge of the middle plate; a plurality of welded posts are disposed on the middle plate; a plurality of through-holes whose positions and sizes are corresponding to those of the plurality of welded posts are disposed on the bezel, and the plurality of welded posts form a hole shaft fit in a one-to-one correspondence with the plurality of through-holes; surfaces of the plurality of welded posts and surfaces of the plurality of through-holes are rough surfaces, wherein the rough surface of the welded post is obtained by film processing, and the welded post meets that surface glossiness is less than 20 Gu, and wherein a surface roughness value of the through-hole is from Ra3.2 to Ra5 by chemical sanding; and the bezel and the middle plate are connected by using laser welding in each fit part of the welded post and the through-hole; wherein the plurality of welded posts comprise at least one first welded post and/or at least one second welded post, the first welded post is a circular welded post, and the second welded post is a rounded rectangular welded post; the plurality of the through-holes comprise at least one first through-hole and/or at least one second through-hole, the first through-hole is a circular through-hole, and the second through-hole is a rounded rectangular through-hole; and the at least one first welded post forms a hole shaft fit in a one-to-one correspondence with the at least one first through-hole, and/or the at least one second welded post forms a hole shaft fit in a one-to-one correspondence with the at least one second through-hole; and further comprising an exhaust groove, wherein the exhaust groove is disposed in the middle plate around a bottom of the at least one first welded post and/or the at least one second welded post, the exhaust groove having a specific depth to discharge gas and increase a weld pool depth. the bezel is disposed around an edge of the middle plate; a plurality of welded posts are disposed on the middle plate; a plurality of through-holes whose positions and sizes are corresponding to those of the plurality of welded posts are disposed on the bezel, and the plurality of welded posts form a hole shaft fit in a one-to-one correspondence with the plurality of through-holes; surfaces of the plurality of welded posts and surfaces of the plurality of through-holes are rough surfaces, wherein the rough surface of the welded post is obtained by film processing, and the welded post meets that surface glossiness is less than 20 Gu, and wherein a surface roughness value of the through-hole is from Ra3.2 to Ra5 by chemical sanding; and the bezel and the middle plate are connected by using laser welding in each fit part of the welded post and the through-hole; wherein the plurality of welded posts comprise at least one first welded post and/or at least one second welded post, the first welded post is a circular welded post, and the second welded post is a rounded rectangular welded post; the plurality of the through-holes comprise at least one first through-hole and/or at least one second through-hole, the first through-hole is a circular through-hole, and the second through-hole is a rounded rectangular through-hole; and the at least one first welded post forms a hole shaft fit in a one-to-one correspondence with the at least one first through-hole, and/or the at least one second welded post forms a hole shaft fit in a one-to-one correspondence with the at least one second through-hole; and further comprising an exhaust groove, wherein the exhaust groove is disposed in the middle plate around a bottom of the at least one first welded post and/or the at least one second welded post, the exhaust groove having a specific depth to discharge gas and increase a weld pool depth.