Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
B
backstage
Project
Project
Details
Activity
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
SVI
svi-templates
backstage
Commits
366a6c48
Commit
366a6c48
authored
Oct 10, 2018
by
zengyilun
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修复收缩侧边栏
parent
16bcc222
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
SiderBar.vue
template/src/components/SiderBar.vue
+1
-1
index.js
template/src/store/index.js
+2
-2
No files found.
template/src/components/SiderBar.vue
View file @
366a6c48
...
...
@@ -18,7 +18,7 @@
export
default
{
name
:
'SiderBar'
,
co
n
puted
:
{
co
m
puted
:
{
isCollapse
()
{
return
this
.
$store
.
state
.
isCollapse
}
...
...
template/src/store/index.js
View file @
366a6c48
...
...
@@ -22,7 +22,7 @@ const store = new Vuex.Store({
SET_GISOP_USER
(
state
,
payload
)
{
state
.
gisopUserInfo
=
payload
},
SET_C
ollapse
(
state
,
payload
)
{
SET_C
OLLAPSE
(
state
,
payload
)
{
state
.
isCollapse
=
payload
},
SET_SIDE_MENU
(
state
,
payload
)
{
...
...
@@ -40,7 +40,7 @@ const store = new Vuex.Store({
commit
(
'SET_GISOP_USER'
,
payload
)
},
setCollapse
({
commit
},
payload
)
{
commit
(
'SET_C
ollapse
'
,
payload
)
commit
(
'SET_C
OLLAPSE
'
,
payload
)
},
setSideMenu
({
commit
},
payload
)
{
commit
(
'SET_SIDE_MENU'
,
payload
)
...
...
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