Goran Dragic scored 30 points, including a go-ahead jumper in the final seconds, and the Miami Heat beat the Los Angeles Lakers 92-91 on Friday night.