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

@@ -56,7 +56,7 @@ import { useI18n } from "~/composables/i18n"
const t = useI18n()
type EmbedTabs = "parameters" | "body" | "headers" | "authorization"
type EmbedTabs = "params" | "bodyParams" | "headers" | "authorization"
type EmbedOption = {
selectedTab: EmbedTabs
@@ -93,15 +93,15 @@ 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,
},
{
value: "body",
value: "bodyParams",
label: "shared_requests.body",
enabled: true,
},