This commit is contained in:
tiago.kayaya
2022-02-16 15:49:08 +01:00
parent 170c5395a4
commit cdf15a37fb
3 changed files with 16 additions and 12 deletions
+4
View File
@@ -34,7 +34,11 @@ export class RouteService {
* @param option [Object] some options to the url
*/
goBack(url = null, option: object = {}) {
console.log(url);
if(this.history.length >= 2) {
console.log(this.history);
this.history.pop();
const goTo = this.history.pop();
this.isGoBack = true;