且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

更改路线PARAMS无角2重装

更新时间:2023-02-14 09:58:59

您可以使用 location.go(URL)这基本上会改变你的网址,在不改变路线应用。

You could use location.go(url) which will basically change your url, without change in route of application.

注意这可能会导致像从当前路由重定向到孩子航线其他作用。

NOTE this could cause other effect like redirect to child route from the current route.

相关问题 描述 location.go 不会贴心路由器来发生的变化。

Related question which describes location.go will not intimate to Router to happen changes.