diff --git a/api-test/frontend/src/business/automation/scenario/common/CustomizeReqInfo.vue b/api-test/frontend/src/business/automation/scenario/common/CustomizeReqInfo.vue index c063046be8..37f0390d15 100644 --- a/api-test/frontend/src/business/automation/scenario/common/CustomizeReqInfo.vue +++ b/api-test/frontend/src/business/automation/scenario/common/CustomizeReqInfo.vue @@ -114,6 +114,12 @@ export default { }, urlChange() { this.isUrl = false; + if (this.request.path) { + this.request.path = this.request.path.trimEnd(); + } + if (this.request.url) { + this.request.url = this.request.url.trimEnd(); + } if (this.request.isRefEnvironment) { this.pathChange(); } else {