Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
bdc
/
bdcdj-web
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
d742d4f1
authored
2022-08-08 15:10:29 +0800
by
任超
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
style:菜单样式
1 parent
b7c5bcbe
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
10 deletions
src/router/index.js
src/styles/sidebar.scss
src/router/index.js
View file @
d742d4f
...
...
@@ -25,11 +25,19 @@ export const constantRoutes = [
component
:
()
=>
import
(
'@/views/error-page/404'
),
hidden
:
true
},
{
path
:
'*'
,
redirect
:
'/404'
,
hidden
:
true
}
]
/**
* asyncRoutes
* the routes that need to be dynamically loaded based on user roles
*/
export
const
asyncRoutes
=
[
{
path
:
'/'
,
component
:
Layout
,
redirect
:
'/home'
,
hidden
:
true
,
meta
:
{
title
:
'首页'
,
icon
:
'fykf'
}
,
children
:
[
{
path
:
'home'
,
...
...
@@ -39,14 +47,6 @@ export const constantRoutes = [
}
]
},
{
path
:
'*'
,
redirect
:
'/404'
,
hidden
:
true
}
]
/**
* asyncRoutes
* the routes that need to be dynamically loaded based on user roles
*/
export
const
asyncRoutes
=
[
{
path
:
'/businessHandling'
,
id
:
'3'
,
...
...
src/styles/sidebar.scss
View file @
d742d4f
...
...
@@ -112,7 +112,7 @@
// 没有子级
.submenu-title-noDropdown
{
background-color
:
transparent
!
important
;
margin-left
:
20
px
;
margin-left
:
15
px
;
padding-left
:
10px
!
important
;
color
:
$menuText
;
...
...
Please
register
or
sign in
to post a comment