Can retaining water cause a drop in milk supply

I use to make so much milk but like 3 weeks postpartum I noticed I retained a good bit of water and like around then my milk supply dropped dramatically overnight. Like I’ll pump maybe 10ml in a pumping session. I use to pump like 8 oz. I gained like 10 lbs in a month. I noticed some feet swelling 5 weeks postpartum. I’m now 8 weeks postpartum and pumping and nursing often and supply is not up like it use to be. pumping like 5ml but baby is nursing too so I might have a little more milk then that.