import { IonicModule } from '@ionic/angular'; import { CUSTOM_ELEMENTS_SCHEMA } from '@angular/core';//新加 import { NgModule } from '@angular/core'; import { CommonModule } from '@angular/common'; import { FormsModule } from '@angular/forms'; import { Tab1Page } from './tab1.page'; import { ExploreContainerComponentModule } from '../explore-container/explore-container.module'; import { Tab1PageRoutingModule } from './tab1-routing.module'; @NgModule({ imports: [ IonicModule, CommonModule, FormsModule, ExploreContainerComponentModule, Tab1PageRoutingModule ], declarations: [Tab1Page], schemas: [CUSTOM_ELEMENTS_SCHEMA]//新加 }) export class Tab1PageModule {}