Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
任超
/
js.CadastralSystem
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Issue Boards
Files
Commits
Network
Compare
Branches
Tags
0922b9cb
authored
2021-01-14 18:43:09 +0800
by
weimo934
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
feat():去除登陆路由,样例修改
1 parent
a1edea74
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
13 additions
and
8 deletions
src/components/plsh/plSh.vue
src/router/routes.js
src/components/plsh/plSh.vue
View file @
0922b9c
...
...
@@ -64,7 +64,7 @@
<br/>
样例3:11
<span>
(1层01室)
</span>
([层号])
<br/>
样例4:1-
10
1
<span>
(1单元-01层01室)
</span>
([单元号][分隔符A][层号],勾选“层号之前增加分隔符”)
样例4:1-
01
1
<span>
(1单元-01层01室)
</span>
([单元号][分隔符A][层号],勾选“层号之前增加分隔符”)
<br/>
样例5:1-13-1
<span>
(1单元13层01室)
</span>
([单元号][分隔符A][层号][分隔符B])
<br/>
...
...
src/router/routes.js
View file @
0922b9c
...
...
@@ -9,26 +9,31 @@ const errorPage = [
{
path
:
"*"
,
redirect
:
"/404"
,
hidden
:
true
},
];
const
frameOut
=
[
/*
const frameOut = [
{
path: "/",
name: "login",
component: login,
},
];
];
*/
const
constantRoutes
=
[
{
path
:
"/panel"
,
code
:
"panel"
,
path
:
"/"
,
component
:
()
=>
import
(
"@/views/Home"
),
redirect
:
"/
panel
"
,
redirect
:
"/"
,
children
:
[
{
path
:
"/
panel
"
,
path
:
"/"
,
name
:
"首页"
,
code
:
"0-1"
,
component
:
()
=>
import
(
"@/views/panel/index"
),
},
{
path
:
"/panel"
,
name
:
"首页"
,
code
:
"0-1"
,
component
:
()
=>
import
(
"@/views/panel/index"
),
},
{
path
:
"/add"
,
name
:
"添加"
,
...
...
@@ -105,4 +110,4 @@ const constantRoutes = [
];
// 在这里面动态引入路由文件 达成权限处理得问题
// 重新组织后导出
export
default
[...
errorPage
,
...
frameOut
,
...
constantRoutes
];
export
default
[...
errorPage
,
...
constantRoutes
];
...
...
Please
register
or
sign in
to post a comment