This is quite common and it’s happened to me as well, so you’re not alone! Toddlers tend to have a favorite parent, unfortunately, as they gravitate towards the parent who meets their needs the easiest. In the beginning, I had to remind myself repeatedly not to take it personally and stay positive. My husband included me as much as possible in whatever we were doing. We also arranged some things that would be only us two, like reading English books or Toddler Yoga. I think my daughter was in a “Daddy> Mommy” phase the most when she was around the age of your daughter. Now she’s stuck to both Mommy and Daddy equally, haha.
It’s hard and takes time, but she stop her favoritism eventually as long as you don’t withdraw or show that you’re hurt by her snubs (again, easier said than done. I definitely had to leave the room to cry sometimes because feeling like you’re being rejected by your own child is painful).
Does your wife work outside of the home and you work from home? If so, that also may be why she gravitates to your wife when she comes home. She wants to spend time with her.