node_modules/ng2-bs3-modal/components/modal-header.d.ts.ModalHeaderComponent.html(3,107) 中的错误:属性“mod
Posted
技术标签:
【中文标题】node_modules/ng2-bs3-modal/components/modal-header.d.ts.ModalHeaderComponent.html(3,107) 中的错误:属性“modal”是私有的,只能访问【英文标题】:ERROR in node_modules/ng2-bs3-modal/components/modal-header.d.ts.ModalHeaderComponent.html(3,107): Property 'modal' is private and it only accessible 【发布时间】:2021-09-05 02:18:00 【问题描述】:我遇到过错误,它在开发中工作得非常好,但在生产中它会抛出一个错误
ERROR in node_modules/ng2-bs3-modal/components/modal-header.d.ts.ModalHeaderComponent.html(3,107): Property 'modal' is private and only accessible within class 'ModalHeaderComponent'.
node_modules/ng2-bs3-modal/components/modal-footer.d.ts.ModalFooterComponent.html(4,107): Property 'modal' is private and only accessible within class 'ModalFooterComponent'.
node_modules/ng2-bs3-modal/components/modal-footer.d.ts.ModalFooterComponent.html(5,86): Property 'modal' is private and only accessible within class 'ModalFooterComponent'.
【问题讨论】:
这能回答你的问题吗? ***.com/questions/43141576/… 【参考方案1】:我建议你看这个问题https://github.com/angular/angular/issues/11422,它可能有用
【讨论】:
以上是关于node_modules/ng2-bs3-modal/components/modal-header.d.ts.ModalHeaderComponent.html(3,107) 中的错误:属性“mod的主要内容,如果未能解决你的问题,请参考以下文章