Update index.vue
This commit is contained in:
parent
2a8ba00024
commit
ed4f1fe6f8
1 changed files with 1 additions and 1 deletions
|
|
@ -1845,7 +1845,7 @@ export default {
|
|||
},
|
||||
rawRequestBody() {
|
||||
const { bodyParams, contentType } = this
|
||||
if (contentType === "application/json") {
|
||||
if (contentType.endsWith("json")) {
|
||||
try {
|
||||
const obj = JSON.parse(
|
||||
`{${bodyParams
|
||||
|
|
|
|||
Loading…
Reference in a new issue