In some fanfictions, Draco might be indifferent to Hermione and Viktor's engagement. He could be so caught up in his own affairs, like trying to redeem his family's name or dealing with his own personal growth, that he simply doesn't care about their relationship. However, there could also be a scenario where Draco is forced to interact with them due to some wizarding politics or a common goal. During this time, he slowly begins to understand the depth of their love and changes his initial view of their relationship.
One possibility could be that Draco is jealous. In many fanfictions, Draco has an unspoken or even a growing admiration for Hermione. If she's engaged to Viktor, Draco might feel a sense of loss or envy. He could try to interfere in their relationship in a rather sneaky way, perhaps by spreading rumors about Viktor's past. Another idea is that Draco actually helps them in some unexpected way. Maybe he realizes that Hermione is truly happy with Viktor and, despite his own feelings, decides to be the bigger person and support them. For example, he could use his influence in the wizarding world to help Viktor with some career - related issues, which in turn benefits Hermione and their relationship.