]> git.ipfire.org Git - thirdparty/vuejs/router.git/commitdiff
refactor: remove old unused line (#2527)
authorzhangenming <282126346@qq.com>
Tue, 15 Jul 2025 11:15:49 +0000 (19:15 +0800)
committerGitHub <noreply@github.com>
Tue, 15 Jul 2025 11:15:49 +0000 (13:15 +0200)
packages/router/src/router.ts

index 748a06a32a2adbd558ddde432cd3823e650c0df6..bc448bbd5bc5fa2be9f73d73fa39915be09976a5 100644 (file)
@@ -1255,7 +1255,6 @@ export function createRouter(options: RouterOptions): Router {
     isReady,
 
     install(app: App) {
-      const router = this
       app.component('RouterLink', RouterLink)
       app.component('RouterView', RouterView)