feat(common): change REST method text color based on selected method (#5116)

This commit is contained in:
Ben 2025-06-11 14:26:46 +08:00 committed by GitHub
parent 9493b30a84
commit beb3184bb3
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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>