1234567891011121314 |
- import { NgModule } from '@angular/core';
- import { CommonModule } from '@angular/common';
- import { CommentModalComponent } from './comment-modal.component'; // 确保路径正确
- import { IonicModule } from '@ionic/angular'; // 导入 Ionic 模块
- @NgModule({
- declarations: [CommentModalComponent],
- imports: [
- CommonModule,
- IonicModule // 确保在这里导入 IonicModule
- ],
- exports: [CommentModalComponent]
- })
- export class CommentModalModule {}
|