Electrical noise on wemos D1 mini
Check this out: What might be the cause of high pitch sound coming from a switching regulator circuit

It usually happens when you draw too low current than the power supply is designed for. However, it harms neither the supply nor the load. If the noise is disturbing, I would recommend using a higher quality power supply.