<div class="modal-header">
    <div class="modal-title">{{ i.id === 0 ? '新增配置' : '编辑配置' }}</div>
</div>
<div>
    <sf #sf [compact]="true" [ui]="ui" [schema]="schema" [button]="'none'">
    </sf>
</div>
<div class="modal-footer">
    <button nz-button type="button" (click)="close()">取消</button>
    <button nz-button type="button" nzType="primary" (click)="sure()" [disabled]="!sf.valid">保存</button>
</div>