|
|
@ -3115,7 +3115,7 @@ |
|
|
|
return base ? cleanPath(base + '/' + path) : path |
|
|
|
return base ? cleanPath(base + '/' + path) : path |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
VueRouter.install = install; |
|
|
|
// VueRouter.install = install;
|
|
|
|
VueRouter.version = '3.5.2'; |
|
|
|
VueRouter.version = '3.5.2'; |
|
|
|
VueRouter.isNavigationFailure = isNavigationFailure; |
|
|
|
VueRouter.isNavigationFailure = isNavigationFailure; |
|
|
|
VueRouter.NavigationFailureType = NavigationFailureType; |
|
|
|
VueRouter.NavigationFailureType = NavigationFailureType; |
|
|
@ -3135,7 +3135,7 @@ |
|
|
|
}); |
|
|
|
}); |
|
|
|
this._router.init(this); |
|
|
|
this._router.init(this); |
|
|
|
} |
|
|
|
} |
|
|
|
}) |
|
|
|
}); |
|
|
|
BI.shortcut("bi.router", RouterWidget); |
|
|
|
BI.shortcut("bi.router", RouterWidget); |
|
|
|
|
|
|
|
|
|
|
|
var RouterView = BI.inherit(BI.Widget, { |
|
|
|
var RouterView = BI.inherit(BI.Widget, { |
|
|
@ -3145,7 +3145,7 @@ |
|
|
|
render: function () { |
|
|
|
render: function () { |
|
|
|
return $router.history.current.matched[0].components.default; |
|
|
|
return $router.history.current.matched[0].components.default; |
|
|
|
} |
|
|
|
} |
|
|
|
}) |
|
|
|
}); |
|
|
|
BI.shortcut("bi.router_view", RouterView); |
|
|
|
BI.shortcut("bi.router_view", RouterView); |
|
|
|
|
|
|
|
|
|
|
|
return VueRouter; |
|
|
|
return VueRouter; |
|
|
|