Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
lxyl-vue
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
李苏
lxyl-vue
Commits
b8ff0480
Commit
b8ff0480
authored
Jan 10, 2024
by
李苏
💬
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
页签bug
parent
ca23671e
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
16 deletions
+8
-16
index.js
src/router/index.js
+0
-16
permission.js
src/store/modules/permission.js
+8
-0
No files found.
src/router/index.js
View file @
b8ff0480
...
...
@@ -757,22 +757,6 @@ export const constantRoutes = [{
component
:
()
=>
import
(
'@/views/error/401'
),
hidden
:
true
},
// {
// path: '',
// component: Layout,
// redirect: 'index',
// hidden: true,
// children: [{
// path: 'index',
// component: () => import('@/views/index'),
// name: 'Index',
// meta: {
// title: '首页',
// icon: 'dashboard',
// affix: true
// }
// }]
// },
{
path
:
'/user'
,
component
:
Layout
,
...
...
src/store/modules/permission.js
View file @
b8ff0480
...
...
@@ -199,6 +199,7 @@ const permission = {
}]
}
router
.
addRoutes
([
newHome
])
constantRoutes
.
push
(
newHome
)
}
else
{
let
newHome
=
{
path
:
''
,
...
...
@@ -217,7 +218,14 @@ const permission = {
}]
}
router
.
addRoutes
([
newHome
])
constantRoutes
.
push
(
newHome
)
}
/*
*/
// res.data=[...newCommonList,...newErpList,...newPowerRoutes]
const
sdata
=
JSON
.
parse
(
JSON
.
stringify
(
res
.
data
))
const
rdata
=
JSON
.
parse
(
JSON
.
stringify
(
res
.
data
))
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
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 comment