In 1.21-pre1, mobs despawned by ominous trial spawners now drop picked up items. However, items enchanted with Curse of Vanishing do not vanish as expected.
To reproduce:
Create or find a Trial Spawner that spawns zombies
Activate the spawner without the Bad Omen or Trial Omen effects
/data entity merge @n[type=zombie] {CanPickUpLoot:1b}
Give the zombie an armor piece with Curse of Vanishing
Drink an ominous bottle to make the Trial Spawner become ominous
Watch as the armor piece drops
Can confirm. This is inconsistent with what happens if mobs die with a Curse of Vanishing item.