If it was just local anesthetic, it most likely had no affect on the baby. Also, lasers are meant to be very precise and local, so I'm sure that wouldn't be a problem either. if you are still unsure, just run it by your doctor - I'm sure baby is fine.
I'm not sure about that kind of surgery but I had my gallbladder removed and an abdominal xray under general anesthetic at 21wks, and also had a cavity filled at 18wks with local anesthetic. Baby is doing great at 34wks so fingers crossed everything is great for you too :)