fix(components): [api-edit] remove api protocol select fixed width

This commit is contained in:
bqy_fe 2022-06-01 16:47:36 +08:00
parent c0e83bf9ad
commit 2a2602acc5

View File

@ -7,10 +7,10 @@
<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">
<nz-select [(ngModel)]="apiData.protocol" formControlName="protocol">
<nz-option *ngFor="let item of REQUEST_PROTOCOL" [nzLabel]="item.key" [nzValue]="item.value"></nz-option>
</nz-select>
<nz-select class="w-28" [(ngModel)]="apiData.method" formControlName="method">
<nz-select class="w-[105px]" [(ngModel)]="apiData.method" formControlName="method">
<nz-option *ngFor="let item of REQUEST_METHOD" [nzLabel]="item.key" [nzValue]="item.value"></nz-option>
</nz-select>
<nz-form-item nz-col class="fg1">