This commit is contained in:
Luiz Silva 2025-09-08 15:04:38 -03:00
parent f2eea9962b
commit d72455e06b
4 changed files with 6 additions and 7 deletions

View file

@ -78,10 +78,10 @@ class TipagemRotas {
*/
ir(query) {
if (this._acaoIr) {
this._acaoIr(this.endereco(query));
this._acaoIr(this.endereco({ ...query }));
} else {
if (typeof window != "undefined") {
window.location.href = this.endereco(query);
window.location.href = this.endereco({ ...query });
}
}
}