🐛 Fixes #435
This commit is contained in:
@@ -53,7 +53,7 @@
|
|||||||
<ul v-for="(header, index) in headers" :key="index">
|
<ul v-for="(header, index) in headers" :key="index">
|
||||||
<li>
|
<li>
|
||||||
<autocomplete
|
<autocomplete
|
||||||
:placeholder="'index ' + (index + 1)"
|
:placeholder="'header ' + (index + 1)"
|
||||||
:source="commonHeaders"
|
:source="commonHeaders"
|
||||||
:spellcheck="false"
|
:spellcheck="false"
|
||||||
:value="header.key"
|
:value="header.key"
|
||||||
|
|||||||
@@ -1986,7 +1986,7 @@ export default {
|
|||||||
window.location.href,
|
window.location.href,
|
||||||
"",
|
"",
|
||||||
"/?" +
|
"/?" +
|
||||||
encodeURIComponent(
|
encodeURI(
|
||||||
flats
|
flats
|
||||||
.concat(deeps, bodyParams)
|
.concat(deeps, bodyParams)
|
||||||
.join("")
|
.join("")
|
||||||
@@ -1999,7 +1999,7 @@ export default {
|
|||||||
throw new Error("Route query parameters must be a Object");
|
throw new Error("Route query parameters must be a Object");
|
||||||
for (const key in queries) {
|
for (const key in queries) {
|
||||||
if (["headers", "params", "bodyParams"].includes(key))
|
if (["headers", "params", "bodyParams"].includes(key))
|
||||||
this[key] = JSON.parse(queries[key]);
|
this[key] = JSON.parse(decodeURI(queries[key]));
|
||||||
if (key === "rawParams") {
|
if (key === "rawParams") {
|
||||||
this.rawInput = true;
|
this.rawInput = true;
|
||||||
this.rawParams = queries["rawParams"];
|
this.rawParams = queries["rawParams"];
|
||||||
|
|||||||
Reference in New Issue
Block a user