📌  相关文章
📜  找不到名称“modalRef”-TypeScript 代码示例

📅  最后修改于: 2022-03-11 14:48:26.508000             🧑  作者: Mango

代码示例1
import { NgbActiveModal, NgbModal, NgbModalRef } from '@ng-bootstrap/ng-bootstrap';

constructor(private modalService: NgbModal)
const modalRef = this.modalService.open(NgbdModal);