From 6dcb74c2dc102cdc050ec52204752d9602950878 Mon Sep 17 00:00:00 2001 From: guy Date: Sun, 27 Jun 2021 21:38:17 +0800 Subject: [PATCH] add --- src/router/router2.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/router/router2.js b/src/router/router2.js index 8ba056b113..626bc30c71 100644 --- a/src/router/router2.js +++ b/src/router/router2.js @@ -3115,7 +3115,7 @@ return base ? cleanPath(base + '/' + path) : path } - VueRouter.install = install; + // VueRouter.install = install; VueRouter.version = '3.5.2'; VueRouter.isNavigationFailure = isNavigationFailure; VueRouter.NavigationFailureType = NavigationFailureType; @@ -3135,7 +3135,7 @@ }); this._router.init(this); } - }) + }); BI.shortcut("bi.router", RouterWidget); var RouterView = BI.inherit(BI.Widget, { @@ -3145,7 +3145,7 @@ render: function () { return $router.history.current.matched[0].components.default; } - }) + }); BI.shortcut("bi.router_view", RouterView); return VueRouter;