Commit 70a41a0b by liimin

新增服务商路由SP

1 parent 06a6103e
...@@ -9,7 +9,8 @@ Vue.use(VueRouter) ...@@ -9,7 +9,8 @@ Vue.use(VueRouter)
const Path = Object.freeze({ const Path = Object.freeze({
LOGIN: '/login', LOGIN: '/login',
E404: '/404', E404: '/404',
OSS: '/oss' OSS: '/oss',
SP: '/sp' //Service Provider
}) })
// 路由 // 路由
let constantRoutes = Object.freeze([ let constantRoutes = Object.freeze([
...@@ -32,6 +33,12 @@ let constantRoutes = Object.freeze([ ...@@ -32,6 +33,12 @@ let constantRoutes = Object.freeze([
meta: { title: 'OSS登录' } meta: { title: 'OSS登录' }
}, },
{ {
path: Path.SP,
name: 'SP',
component: Login,
meta: { title: '服务商登录' }
},
{
path: '/', path: '/',
redirect: Path.LOGIN // 默认加载的路由 redirect: Path.LOGIN // 默认加载的路由
} }
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!