Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
jinli gu
JSH ERP
Commits
9f865aa3
Commit
9f865aa3
authored
Mar 02, 2022
by
季圣华
Browse files
修复bug:临时解决菜单向左收起,刷新页面后的变形问题
parent
4cc02fe0
Changes
1
Hide whitespace changes
Inline
Side-by-side
jshERP-web/src/main.js
View file @
9f865aa3
...
@@ -55,7 +55,8 @@ new Vue({
...
@@ -55,7 +55,8 @@ new Vue({
router
,
router
,
store
,
store
,
mounted
()
{
mounted
()
{
store
.
commit
(
'
SET_SIDEBAR_TYPE
'
,
Vue
.
ls
.
get
(
SIDEBAR_TYPE
,
true
))
// store.commit('SET_SIDEBAR_TYPE', Vue.ls.get(SIDEBAR_TYPE, true))
store
.
commit
(
'
SET_SIDEBAR_TYPE
'
,
true
)
store
.
commit
(
'
TOGGLE_THEME
'
,
Vue
.
ls
.
get
(
DEFAULT_THEME
,
config
.
navTheme
))
store
.
commit
(
'
TOGGLE_THEME
'
,
Vue
.
ls
.
get
(
DEFAULT_THEME
,
config
.
navTheme
))
store
.
commit
(
'
TOGGLE_LAYOUT_MODE
'
,
Vue
.
ls
.
get
(
DEFAULT_LAYOUT_MODE
,
config
.
layout
))
store
.
commit
(
'
TOGGLE_LAYOUT_MODE
'
,
Vue
.
ls
.
get
(
DEFAULT_LAYOUT_MODE
,
config
.
layout
))
store
.
commit
(
'
TOGGLE_FIXED_HEADER
'
,
Vue
.
ls
.
get
(
DEFAULT_FIXED_HEADER
,
config
.
fixedHeader
))
store
.
commit
(
'
TOGGLE_FIXED_HEADER
'
,
Vue
.
ls
.
get
(
DEFAULT_FIXED_HEADER
,
config
.
fixedHeader
))
...
...
Write
Preview
Supports
Markdown
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