diff --git a/dolphinscheduler-ui/src/js/conf/home/router/index.js b/dolphinscheduler-ui/src/js/conf/home/router/index.js index c2c2bb5ea2..d8bfc8589e 100644 --- a/dolphinscheduler-ui/src/js/conf/home/router/index.js +++ b/dolphinscheduler-ui/src/js/conf/home/router/index.js @@ -558,6 +558,11 @@ const router = new Router({ ] }) +const VueRouterPush = Router.prototype.push +Router.prototype.push = function push (to) { + return VueRouterPush.call(this, to).catch(err => err) +} + router.beforeEach((to, from, next) => { const $body = $('body') $body.find('.tooltip.fade.top.in').remove()