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
895db48e
authored
2022-08-08 16:32:25 +0800
by
任超
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
style:布局
1 parent
277bada3
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
10 deletions
src/layout/components/Navbar.vue
src/layout/components/Navbar.vue
View file @
895db48
...
...
@@ -21,25 +21,15 @@
import
{
mapGetters
}
from
'vuex'
import
Breadcrumb
from
'@/components/Breadcrumb'
import
Hamburger
from
'@/components/Hamburger'
// import { getSession } from '@/utils/session'
export
default
{
components
:
{
Breadcrumb
,
Hamburger
},
created
()
{
// this.init();
},
computed
:
{
...
mapGetters
([
'sidebar'
,
'avatar'
,
'name'
])
},
methods
:
{
// init () {
// let userInfo = getSession('userInfo');
// if (userInfo && userInfo.userValid === 0) {
// this.userValid = 0;
// }
// },
toggleSideBar
()
{
this
.
$store
.
dispatch
(
'app/toggleSideBar'
)
},
...
...
Please
register
or
sign in
to post a comment