Ohhhhh Guy please understand. The DF 21 aimed at Taiwan are not anti ship version. They are simple Surface to surface missiles. So called anti ship DF 21 is derivative of that S to S DF 21.
From Article.
The missile, designated the DF-21D, is one of a “growing number of conventionally armed”