创建基础数据服务
This commit is contained in:
@@ -5,12 +5,15 @@ import { PagesRoutingModule } from './pages-routing.module'
|
||||
|
||||
import { ComponentsModule } from '../components/components.module'
|
||||
|
||||
import { BasicDataService } from './basic-data-service'
|
||||
|
||||
@NgModule({
|
||||
imports: [
|
||||
CommonModule,
|
||||
ComponentsModule,
|
||||
PagesRoutingModule,
|
||||
],
|
||||
declarations: [PagesComponent]
|
||||
declarations: [PagesComponent],
|
||||
providers: [BasicDataService]
|
||||
})
|
||||
export class PagesModule { }
|
||||
|
||||
Reference in New Issue
Block a user