您可以使用应用程序引用手动重新渲染。
将ApplicationRef注入组件。
constructor(appRef: ApplicationRef) {}
然后在需要重新渲染时调用tick方法
appRef.tick();