diff --git a/src/app/shared/widget/dict-select/dict-select.widget.ts b/src/app/shared/widget/dict-select/dict-select.widget.ts index 57b64ba5..d8906295 100644 --- a/src/app/shared/widget/dict-select/dict-select.widget.ts +++ b/src/app/shared/widget/dict-select/dict-select.widget.ts @@ -1,5 +1,5 @@ /* - * @Description : + * @Description : * @Version : 1.0 * @Author : Shiming * @Date : 2021-12-13 10:36:49 @@ -37,4 +37,8 @@ export class DictSelectWidget extends ControlWidget implements OnInit { if (this.ui.change) this.ui.change(value); this.setValue(value); } + + reset(value: any) { + this.setValue(value); + } }