diff --git a/components/http/BodyParameters.vue b/components/http/BodyParameters.vue index 75509f7f9..f05fd3e29 100644 --- a/components/http/BodyParameters.vue +++ b/components/http/BodyParameters.vue @@ -38,7 +38,6 @@ /> -
@@ -84,54 +83,14 @@ key: $event.target.value, value: param.value, active: param.active, + isFile: param.isFile, }) " /> - - -
-
+
+
@@ -139,6 +98,68 @@
+ + + + + + + + - - - -
- @@ -243,10 +320,12 @@ export default defineComponent({ @apply flex flex-1; @apply whitespace-nowrap; @apply overflow-auto; - @apply bg-primaryDark; + @apply bg-primaryLight; .file-chips-wrapper { @apply flex; + @apply px-4; + @apply py-1; @apply w-0; } } diff --git a/components/http/Headers.vue b/components/http/Headers.vue index 95a42efb7..228b56c82 100644 --- a/components/http/Headers.vue +++ b/components/http/Headers.vue @@ -82,7 +82,7 @@ @change=" updateHeader(index, { key: header.key, - value: $event.target.value, + value: $event, active: header.active, }) " diff --git a/components/http/Parameters.vue b/components/http/Parameters.vue index 98d5a9901..d4bdc5e9b 100644 --- a/components/http/Parameters.vue +++ b/components/http/Parameters.vue @@ -57,7 +57,7 @@ " @change=" updateParam(index, { - key: $event.target.value, + key: $event, value: param.value, active: param.active, }) @@ -100,7 +100,7 @@ @change=" updateParam(index, { key: param.key, - value: $event.target.value, + value: $event, active: param.active, }) " diff --git a/components/smart/DeletableChip.vue b/components/smart/DeletableChip.vue index a96c67eb6..b629bfc94 100644 --- a/components/smart/DeletableChip.vue +++ b/components/smart/DeletableChip.vue @@ -1,8 +1,9 @@