feat(common): change REST method text color based on selected method (#5116)
This commit is contained in:
parent
9493b30a84
commit
beb3184bb3
1 changed files with 3 additions and 0 deletions
|
|
@ -20,6 +20,9 @@
|
|||
:value="tab.document.request.method"
|
||||
:readonly="!isCustomMethod"
|
||||
:placeholder="`${t('request.method')}`"
|
||||
:style="{
|
||||
color: getMethodLabelColor(tab.document.request.method),
|
||||
}"
|
||||
@input="onSelectMethod($event)"
|
||||
/>
|
||||
</HoppSmartSelectWrapper>
|
||||
|
|
|
|||
Loading…
Reference in a new issue