melhorias

This commit is contained in:
Luiz Silva 2024-09-15 13:06:49 -03:00
parent de77a4c8b6
commit b08b7de2c0
5 changed files with 5 additions and 5 deletions

View file

@ -72,7 +72,7 @@ class TipagemRotas {
** console.log(mCaminho.parametros())
** {q:"query"}
*/
parametros() {
get parametros() {
const url = new URL(typeof window !== "undefined" ? window.location.href : "http://localhost");
const query = url.searchParams;
const queryObj = Object.fromEntries(query.entries());