规范:统一自有源码中文注释和中文提交约定
This commit is contained in:
1 parent
bdb9b00b6e
commit
83b7484558
17 files changed
+39
-36
No files matched your search
@@ -21,7 +21,7 @@ export default defineNuxtRouteMiddleware((to) => {
|
||||
);
|
||||
const query = { ...to.query };
|
||||
delete query.queryParam;
|
||||
// Canonicalize the router location too; mutating query alone leaves fullPath with the credential.
|
||||
// 同时规范化路由地址;仅修改 query 会让 fullPath 仍保留凭证。
|
||||
return navigateTo(
|
||||
{ path: "/home.htm", query, hash: to.hash },
|
||||
{ replace: true },
|
||||
|
||||
Reference in new issue
Block a user