Skip to content

Commit

Permalink
feat(共享模块): shared模块 新增Forms和ReactiveForms模块
Browse files Browse the repository at this point in the history
  • Loading branch information
jiayisheji committed Mar 1, 2018
1 parent fc0ade1 commit 6aad2fe
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/app/shared/shared.module.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
import { NgModule } from '@angular/core';
import { CommonModule } from '@angular/common';
import { RouterModule } from '@angular/router';
import { FormsModule, ReactiveFormsModule } from '@angular/forms';

import { getNavData } from '@app/config';

Expand All @@ -25,6 +26,8 @@ import { BreadcrumbModule } from './breadcrumb';
CommonModule,
RouterModule,
FlexLayoutModule,
FormsModule,
ReactiveFormsModule,
SimpleModule.forRoot(),
BreadcrumbModule.forRoot(getNavData),
],
Expand All @@ -36,6 +39,8 @@ import { BreadcrumbModule } from './breadcrumb';
FlexLayoutModule,
SimpleModule,
BreadcrumbModule,
FormsModule,
ReactiveFormsModule,
]
})
export class SharedModule { }

0 comments on commit 6aad2fe

Please sign in to comment.