.
This commit is contained in:
parent
f2eea9962b
commit
d72455e06b
4 changed files with 6 additions and 7 deletions
|
|
@ -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 });
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue