ref
early 20th century: abbreviation.
shortening and alteration of underwear
undies (n.)
1906, diminutive euphemistic abbreviation for women's underwear (or undergarments).