From 6728105539e3dd44e4f24e18851b5c076151462c Mon Sep 17 00:00:00 2001 From: easy <1358086367@qq.com> Date: Thu, 12 Jan 2023 17:39:02 +0800 Subject: [PATCH 1/7] =?UTF-8?q?update:=20api=E9=85=8D=E7=BD=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- components.d.ts | 7 +- src/components/Table/index.vue | 2 +- .../system/apiPage/components/ApiDoes.vue | 203 ++++++++++++++++-- .../system/apiPage/components/ApiTest.vue | 11 +- .../system/apiPage/components/ChooseApi.vue | 6 +- .../system/apiPage/components/LeftTree.vue | 3 +- src/views/system/apiPage/index.d.ts | 5 +- src/views/system/apiPage/index.vue | 13 +- 8 files changed, 224 insertions(+), 26 deletions(-) diff --git a/components.d.ts b/components.d.ts index f0d011ba..3e729ed1 100644 --- a/components.d.ts +++ b/components.d.ts @@ -10,11 +10,10 @@ declare module '@vue/runtime-core' { AAlert: typeof import('ant-design-vue/es')['Alert'] ABadge: typeof import('ant-design-vue/es')['Badge'] AButton: typeof import('ant-design-vue/es')['Button'] + ACard: typeof import('ant-design-vue/es')['Card'] ACheckbox: typeof import('ant-design-vue/es')['Checkbox'] ACheckboxGroup: typeof import('ant-design-vue/es')['CheckboxGroup'] ACol: typeof import('ant-design-vue/es')['Col'] - ACollapse: typeof import('ant-design-vue/es')['Collapse'] - ACollapsePanel: typeof import('ant-design-vue/es')['CollapsePanel'] ADatePicker: typeof import('ant-design-vue/es')['DatePicker'] ADivider: typeof import('ant-design-vue/es')['Divider'] AEmpty: typeof import('ant-design-vue/es')['Empty'] @@ -29,12 +28,14 @@ declare module '@vue/runtime-core' { ARadioGroup: typeof import('ant-design-vue/es')['RadioGroup'] ARow: typeof import('ant-design-vue/es')['Row'] ASelect: typeof import('ant-design-vue/es')['Select'] - ASelectOption: typeof import('ant-design-vue/es')['SelectOption'] ASpin: typeof import('ant-design-vue/es')['Spin'] ASwitch: typeof import('ant-design-vue/es')['Switch'] ATable: typeof import('ant-design-vue/es')['Table'] + ATabPane: typeof import('ant-design-vue/es')['TabPane'] + ATabs: typeof import('ant-design-vue/es')['Tabs'] ATimePicker: typeof import('ant-design-vue/es')['TimePicker'] ATooltip: typeof import('ant-design-vue/es')['Tooltip'] + ATree: typeof import('ant-design-vue/es')['Tree'] ATreeSelect: typeof import('ant-design-vue/es')['TreeSelect'] AUpload: typeof import('ant-design-vue/es')['Upload'] BadgeStatus: typeof import('./src/components/BadgeStatus/index.vue')['default'] diff --git a/src/components/Table/index.vue b/src/components/Table/index.vue index d352dcc4..6ac325ad 100644 --- a/src/components/Table/index.vue +++ b/src/components/Table/index.vue @@ -15,7 +15,7 @@
+
请求数据类型 - {{ + {{ getContent(selectApi.requestBody) || 'application/x-www-form-urlencoded' }} 响应数据类型 - {{ `["/"]` }} + {{ `["/"]` }}