未验证 提交 974b9751 编写于 作者: Mr.奇淼('s avatar Mr.奇淼( 提交者: GitHub

Merge pull request #939 from junstyle/main

......@@ -177,6 +177,9 @@ const isSame = (route1, route2) => {
if (route1.name !== route2.name) {
return false
}
if (Object.keys(route1.query).length != Object.keys(route2.query).length || Object.keys(route1.params).length != Object.keys(route2.params).length) {
return false
}
for (const key in route1.query) {
if (route1.query[key] !== route2.query[key]) {
return false
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册