Milan won 2-0 after losing in midweek to Juventus.
“We lost the last game against a quality opponent like Juventus. This was therefore an important match for us to stay top and I think we gave the right response," said Leao.
“Our mentality is to always go out there for the win and stay top of the table. We did our duty, we won, the rest doesn't matter."
Leao added: “I am glad that I was able to help my team by scoring a goal, but the most important thing was that we got the three points.
“I am closer to the goal when playing as a centre-forward, but I am also happy to provide assists for my teammates. It doesn't matter where I play, I just want to help."