Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
9
91isoft_web_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
张伯涛
91isoft_web_vue
Commits
da923253
Commit
da923253
authored
Feb 22, 2024
by
张伯涛
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
pda分支左侧菜单栏默认折叠隐藏
parent
6a32377f
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
6 deletions
+7
-6
header.vue
src/layout/components/header.vue
+5
-5
app.js
src/store/modules/app.js
+2
-1
No files found.
src/layout/components/header.vue
View file @
da923253
<
template
>
<div
class=
"navbar"
>
<div
class=
"title-box"
>
<hamburger
:is-active=
"sidebar.opened"
class=
"hamburger-container"
@
toggleClick=
"toggleSideBar"
/
>
<!--
<hamburger-->
<!-- :is-active="sidebar.opened"-->
<!-- class="hamburger-container"-->
<!-- @toggleClick="toggleSideBar"-->
<!-- />--
>
<!--
<el-dropdown-->
<!-- class="change-sys"-->
<!-- @command="handleCommand"-->
...
...
src/store/modules/app.js
View file @
da923253
...
...
@@ -2,7 +2,8 @@ import Cookies from 'js-cookie'
const
state
=
{
sidebar
:
{
opened
:
Cookies
.
get
(
'sidebarStatus'
)
?
!!+
Cookies
.
get
(
'sidebarStatus'
)
:
true
,
// opened: Cookies.get('sidebarStatus') ? !!+Cookies.get('sidebarStatus') : true,
opened
:
false
,
withoutAnimation
:
false
},
device
:
'desktop'
,
...
...
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