fix: bugs in shared request (#3704)

This commit is contained in:
Nivedin
2024-01-23 22:24:18 +05:30
committed by GitHub
parent b81ccb4ee3
commit 9e1466a877
11 changed files with 67 additions and 35 deletions

View File

@@ -225,10 +225,10 @@ const props = defineProps({
embedOptions: {
type: Object as PropType<EmbedOption>,
default: () => ({
selectedTab: "parameters",
selectedTab: "params",
tabs: [
{
value: "parameters",
value: "params",
label: "shared_requests.parameters",
enabled: true,
},
@@ -290,7 +290,7 @@ const widgets: Widget[] = [
},
]
type EmbedTabs = "parameters" | "body" | "headers" | "authorization"
type EmbedTabs = "params" | "bodyParams" | "headers" | "authorization"
type EmbedOption = {
selectedTab: EmbedTabs