diff --git a/src/router/index.js b/src/router/index.js index ef64e84..a8374b2 100644 --- a/src/router/index.js +++ b/src/router/index.js @@ -69,11 +69,11 @@ const routes = [ }, component: () => import('@/views/exception/NoMobile') }, + ...workCenter, { path: '*', redirect: '/' - }, - ...workCenter + } ] const originalPush = VueRouter.prototype.push