From 3193df5faaacb0fe903ce993b16319276528524f Mon Sep 17 00:00:00 2001 From: king <18310653075@163.com> Date: 星期一, 06 七月 2020 23:14:17 +0800 Subject: [PATCH] 2020-07-06 --- src/router/index.js | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/src/router/index.js b/src/router/index.js index 4e042d3..94d482b 100644 --- a/src/router/index.js +++ b/src/router/index.js @@ -5,6 +5,7 @@ import asyncComponent from '@/utils/asyncComponent' import asyncLoadComponent from '@/utils/asyncLoadComponent' +const Pay = asyncLoadComponent(() => import('@/views/pay')) const Main = asyncLoadComponent(() => import('@/views/main')) const Login = asyncLoadComponent(() => import('@/views/login')) const NotFound = asyncComponent(() => import('@/views/404')) @@ -14,6 +15,7 @@ const routers = [ {path: '/login', name: 'login', component: Login, auth: false}, + {path: '/pay/:param', name: 'pay', component: Pay, auth: false}, {path: '/print/:param', name: 'print', component: PrintT, auth: false}, {path: '/ssologin/:param', name: 'ssologin', auth: true}, {path: '/main', name: 'main', component: Main, auth: true}, -- Gitblit v1.8.0