cocos 3.8.4 removeComponent 被弃用 应该使用什么来代替

cocos 3.8.4 removeComponent 被弃用 应该使用什么来代替

我是直接getComponent().destroy()了