Merge branch 'develop' of https://gitlab.eascs.com/tms-ui/tms-obc-web into develop

This commit is contained in:
wangshiming
2022-05-13 11:10:56 +08:00

View File

@ -13,7 +13,7 @@ export class SearchDrawerService {
visible = false;
drawer: Subscription[] = [];
constructor() {}
constructor() { }
create(defaultValue: Record<string, any>, newSchema?: SFSchema, newUI?: SFUISchema) {
this.createEvent.next({ defaultValue, newSchema, newUI });
@ -22,5 +22,6 @@ export class SearchDrawerService {
unsubscribe() {
this.drawer.forEach(sub => sub.unsubscribe());
this.drawer = [];
}
}