dict-select组件添加重置功能
This commit is contained in:
@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user