Barking on a leash

Hi,

mean July, a Jack Russell, barking whenever I meet other dogs to the dog park. I also already talked to others on the dog park and my July then allow to play with the other dogs on the playground, but it changes nothing! Does anyone have a tip, why my clear come July when playing with the dogs, but then when dogs go barking at always foreign dogs?

Love greetings

Tine