From 39c64209219d8766cd08c09c843a7cf0424e7e55 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=BD=98=E6=99=93=E4=BA=91?= Date: Tue, 22 Mar 2022 17:14:50 +0800 Subject: [PATCH] =?UTF-8?q?dict-select=E7=BB=84=E4=BB=B6=E6=B7=BB=E5=8A=A0?= =?UTF-8?q?=E9=87=8D=E7=BD=AE=E5=8A=9F=E8=83=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/app/shared/widget/dict-select/dict-select.widget.ts | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) 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); + } }