dict-select组件添加重置功能

This commit is contained in:
潘晓云
2022-03-22 17:14:50 +08:00
parent bc48403573
commit 39c6420921

View File

@ -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);
}
}