.
This commit is contained in:
parent
3b45b82654
commit
7e7cf8e7df
4 changed files with 4 additions and 10 deletions
|
|
@ -63,10 +63,7 @@ class TipagemRotas {
|
||||||
url.search = "";
|
url.search = "";
|
||||||
const queryKeys = Object.entries(query);
|
const queryKeys = Object.entries(query);
|
||||||
for (const [key, value] of queryKeys) {
|
for (const [key, value] of queryKeys) {
|
||||||
url.searchParams.set(
|
url.searchParams.set(String(key), JSON.stringify(value));
|
||||||
String(key),
|
|
||||||
encodeURIComponent(JSON.stringify(value))
|
|
||||||
);
|
|
||||||
}
|
}
|
||||||
url.hash = "";
|
url.hash = "";
|
||||||
if (usarComoHash) {
|
if (usarComoHash) {
|
||||||
|
|
|
||||||
File diff suppressed because one or more lines are too long
|
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
"name": "p-comuns",
|
"name": "p-comuns",
|
||||||
"version": "0.224.0",
|
"version": "0.225.0",
|
||||||
"description": "",
|
"description": "",
|
||||||
"main": "./dist-back/index.js",
|
"main": "./dist-back/index.js",
|
||||||
"module": "./dist-front/index.mjs",
|
"module": "./dist-front/index.mjs",
|
||||||
|
|
|
||||||
|
|
@ -74,10 +74,7 @@ export class TipagemRotas<T extends { [q: string]: any }> {
|
||||||
const queryKeys = Object.entries(query)
|
const queryKeys = Object.entries(query)
|
||||||
|
|
||||||
for (const [key, value] of queryKeys) {
|
for (const [key, value] of queryKeys) {
|
||||||
url.searchParams.set(
|
url.searchParams.set(String(key), JSON.stringify(value))
|
||||||
String(key),
|
|
||||||
encodeURIComponent(JSON.stringify(value)),
|
|
||||||
)
|
|
||||||
}
|
}
|
||||||
|
|
||||||
url.hash = ""
|
url.hash = ""
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue