You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@apisix.apache.org by ju...@apache.org on 2021/01/11 04:26:54 UTC
[apisix-dashboard] 01/02: Merge branch 'master' of
github.com:apache/apisix-dashboard into v2.3
This is an automated email from the ASF dual-hosted git repository.
juzhiyuan pushed a commit to branch v2.3
in repository https://gitbox.apache.org/repos/asf/apisix-dashboard.git
commit 419d6e7233e0d3630cb0eff4714b5138091f67c0
Merge: d518b47 b290846
Author: juzhiyuan <ju...@apache.org>
AuthorDate: Mon Jan 11 12:24:57 2021 +0800
Merge branch 'master' of github.com:apache/apisix-dashboard into v2.3
.github/PULL_REQUEST_TEMPLATE | 11 +++++++++++
.github/workflows/test-frontend-multiple-node-build.yml | 2 +-
Makefile | 2 +-
api/VERSION | 2 +-
web/src/components/Plugin/PluginPage.tsx | 2 +-
web/src/pages/Route/components/DebugViews/DebugDrawView.tsx | 3 +++
web/src/pages/Route/components/Step1/MatchingRulesView.tsx | 2 +-
7 files changed, 19 insertions(+), 5 deletions(-)
diff --cc web/src/pages/Route/components/DebugViews/DebugDrawView.tsx
index 18b3d0e,daf516d..ff40afa
--- a/web/src/pages/Route/components/DebugViews/DebugDrawView.tsx
+++ b/web/src/pages/Route/components/DebugViews/DebugDrawView.tsx
@@@ -81,6 -81,9 +81,9 @@@ const DebugDrawView: React.FC<RouteModu
let transformDataForm: string[];
let transformDataJson: object;
const formData: RouteModule.debugRequestParamsFormData[] = bodyForm.getFieldsValue().params;
+ if (methodWithoutBody.includes(httpMethod)) {
- return undefined
++ return undefined;
+ }
switch (bodyType) {
case 'x-www-form-urlencoded':
transformDataForm = (formData || [])