my best friend's yorkie, Diesel, has always been doing this since she was little. (She's now 4 years old)
so everyone just ignore Diesel when we go to my friend's place & let her run around & calm down.
Although she stills pees a little when she sees us, the peeing thingy seems to get better.
(If you hug or touch her, she'll just pee on you...like...alot)
Or my friend will tell her to peepee in advance if she knows anyone's coming soon. (so Diesel doesn't have too much to pee if she gets excited)
But I don't think it's a big deal.
They either grow out of it, or if not, you grow to get used to it~