如果带参数跳转的页面是tag下的页面时,切换tag不会路由切换,切换tag页时url上的参数还是会在,切换时去掉跳转时带的参数用:
location.replace(location.href.replace(location.hash, `#${this.$route.path}`))