个人设置开发
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
import { NgModule } from '@angular/core';
|
||||
import { FormsModule, ReactiveFormsModule } from '@angular/forms';
|
||||
import { CommonModule } from '@angular/common';
|
||||
import { ColorPickerModule } from 'ngx-color-picker';
|
||||
import { SystemManagementComponent } from './system-management.component';
|
||||
@@ -9,6 +10,7 @@ import { DepartmentManagementComponent } from './department-management/departmen
|
||||
import { OperationLogsComponent } from './operation-logs/operation-logs.component';
|
||||
import { DataSynchronizeComponent } from './data-synchronize/data-synchronize.component';
|
||||
|
||||
|
||||
import { SystemManagementRouting } from './system-management-routing.module'
|
||||
import { NgZorroAntdModule, NZ_I18N, zh_CN } from 'ng-zorro-antd';
|
||||
|
||||
@@ -17,14 +19,16 @@ import zh from '@angular/common/locales/zh';
|
||||
registerLocaleData(zh);
|
||||
import { ColorSettingsComponent } from './personal-settings/color-settings/color-settings.component';
|
||||
import { MsgAlertWarningComponent } from './personal-settings/msg-alert-warning/msg-alert-warning.component';
|
||||
import { FlightAgencyComponent } from './personal-settings/flight-agency/flight-agency.component';
|
||||
|
||||
@NgModule({
|
||||
imports: [
|
||||
CommonModule,
|
||||
SystemManagementRouting,
|
||||
/** 导入 ng-zorro-antd 模块 **/
|
||||
NgZorroAntdModule,
|
||||
ColorPickerModule
|
||||
ColorPickerModule,
|
||||
ReactiveFormsModule,
|
||||
FormsModule
|
||||
],
|
||||
declarations: [
|
||||
SystemManagementComponent,
|
||||
@@ -36,8 +40,9 @@ import { MsgAlertWarningComponent } from './personal-settings/msg-alert-warning/
|
||||
DataSynchronizeComponent,
|
||||
ColorSettingsComponent,
|
||||
MsgAlertWarningComponent,
|
||||
FlightAgencyComponent,
|
||||
|
||||
],
|
||||
/** 配置 ng-zorro-antd 国际化 **/
|
||||
providers : [ { provide: NZ_I18N, useValue: zh_CN } ],
|
||||
})
|
||||
export class SystemManagementModule { }
|
||||
|
||||
Reference in New Issue
Block a user