'click', (event) => {
                  
                  
                            //  console.log(environment.basepath);
                  
                  
                              if (event.target.hasAttribute("href")) {
                  
                  
                                  let href = this.removeBasepath(event.target.getAttribute("href"))
                  
                  
                                  const linkArray = href.split('?');
                  
                  
                                  const link = linkArray[0];
                  
                  
                                  let queryObj = null;
                  
                  
                                  if ( linkArray.length > 1) {
                  
                  
                                      queryObj = this.parseQueryParams(linkArray[1]);
                  
                  
                                  }
                  
                  
                                  this.router.navigate([link], {queryParams : queryObj});
                  
                  
                                  return false;
                  
                  
                        }
                  
                  
                          });
                  
                  
                
Ох....все ясно)
Обсуждают сегодня