Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
saas
/
scrm-base
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit 70a41a0b
authored
Apr 07, 2023
by
liimin
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
新增服务商路由SP
1 parent
06a6103e
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
1 deletions
src/router/index.js
src/router/index.js
View file @
70a41a0
...
@@ -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
// 默认加载的路由
}
}
...
...
Write
Preview
Markdown
is supported
Attach a file
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to post a comment