fix bug
This commit is contained in:
@ -16,7 +16,7 @@
|
||||
<sf #sf [schema]="schema" [ui]="ui" [mode]="'search'" [loading]="false" (formSubmit)="st?.load(1)"
|
||||
(formReset)="resetSF()"></sf>
|
||||
</div>
|
||||
|
||||
edit
|
||||
<!-- 查询字段大于3个时,根据展开状态调整布局 -->
|
||||
<ng-container *ngIf="queryFieldCount > 4">
|
||||
<div nz-col [nzSpan]="_$expand ? 24 : 18">
|
||||
|
||||
@ -187,6 +187,10 @@ this.ui2 = { '*': { spanLabelFixed: 120, grid: { span: 24 } } };
|
||||
console.log(res)
|
||||
if(res) {
|
||||
this.formData = res;
|
||||
const List: any = [];
|
||||
List.push({ label: res.enterpriseName, value: res.id });
|
||||
this.sfFre.getProperty('/enterpriseId')!.schema.enum = List;
|
||||
this.sfFre.getProperty('/enterpriseId')!.widget.reset(List);
|
||||
}
|
||||
})
|
||||
this.edit = true;
|
||||
|
||||
Reference in New Issue
Block a user