fix bug
This commit is contained in:
		| @ -1,3 +1,11 @@ | ||||
| /* | ||||
|  * @Author: your name | ||||
|  * @Date: 2021-12-01 15:07:23 | ||||
|  * @LastEditTime: 2021-12-13 10:37:39 | ||||
|  * @LastEditors: your name | ||||
|  * @Description: 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE | ||||
|  * @FilePath: \tms-obc-web\src\app\shared\widget\st-widget.module.ts | ||||
|  */ | ||||
| import { CommonModule } from '@angular/common'; | ||||
| import { NgModule } from '@angular/core'; | ||||
| import { FormsModule } from '@angular/forms'; | ||||
| @ -15,6 +23,7 @@ import { NgxTinymceModule } from 'ngx-tinymce'; | ||||
| // import { STWidgetRegistry } from '@delon/abc/st'; | ||||
| import { SharedModule } from '../shared.module'; | ||||
| import { AddressWidget } from './address/address.widget'; | ||||
| import { DictSelectWidget } from './dict-select/dict-select.widget'; | ||||
| import { EditorWidget } from './editor/editor.widget'; | ||||
| import { SLFromToSearchWidget } from './from-to-search/from-to-search.widget'; | ||||
| import { EAFromToWidget } from './from-to/from-to.widget'; | ||||
| @ -33,7 +42,8 @@ export const STWIDGET_COMPONENTS = [ | ||||
|   EAFromToWidget, | ||||
|   SpecValuesWidget, | ||||
|   PropertyValuesWidget, | ||||
|   SLFromToSearchWidget | ||||
|   SLFromToSearchWidget, | ||||
|   DictSelectWidget | ||||
| ]; | ||||
|  | ||||
| @NgModule({ | ||||
| @ -68,5 +78,6 @@ export class STWidgetModule { | ||||
|     widgetRegistry.register(SpecValuesWidget.KEY, SpecValuesWidget); | ||||
|     widgetRegistry.register(PropertyValuesWidget.KEY, PropertyValuesWidget); | ||||
|     widgetRegistry.register(SLFromToSearchWidget.KEY, SLFromToSearchWidget); | ||||
|     widgetRegistry.register(DictSelectWidget.KEY, DictSelectWidget) | ||||
|   } | ||||
| } | ||||
|  | ||||
		Reference in New Issue
	
	Block a user