问题
I am adding two forge viewer in same application but I am using Angular Forge Viewer component. all model loads only in one model. second viewer not working. I think the issue is Angular Forge Viewer component is using same Id.
回答1:
Looks like that has to do with the same container being used with a fixed element ID rather than a named ViewChild (see here).
You can either modify the library to use named ViewChild or raise an issue on Github for the author to address this (Alan is very active keeping this library in good maintenance).
来源:https://stackoverflow.com/questions/58705180/how-to-load-two-forge-viewer-in-same-application-angular-forge-viewer-component