fix(components): [api-edit] fixed the save btn to top

This commit is contained in:
buqiyuan 2022-05-30 14:52:51 +08:00
parent 4bc79deb47
commit ab6179bf5f

View File

@ -1,8 +1,10 @@
<eo-message></eo-message>
<div class="p15">
<form nz-form [nzLayout]="'vertical'" [formGroup]="validateForm">
<div class="!pt-0 p15">
<div class="sticky top-0 z-10 pt-6 bg-white">
<button type="submit" nz-button nztype="primary" class="eo_theme_btn_success" (click)="saveApi()">保存</button>
<nz-divider></nz-divider>
</div>
<form nz-form [nzLayout]="'vertical'" [formGroup]="validateForm">
<nz-form-label nzFor="uri">API Path</nz-form-label>
<nz-input-group nzCompact>
<nz-select class="w-24" [(ngModel)]="apiData.protocol" formControlName="protocol">