Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
polysoft-nafmii
/
polysoft-h5
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit 4c8a7b76
authored
May 20, 2021
by
amateur
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
1
1 parent
2b9f6897
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletions
src/store/index.js
src/store/index.js
View file @
4c8a7b7
...
...
@@ -5,6 +5,7 @@ import createLogger from 'vuex/dist/logger'
import
home
from
'./modules/home'
import
user
from
'./modules/user'
import
common
from
'./modules/common'
import
search
from
'./modules/search'
// vuex 数据存储 进行本地存储操作
const
vuexLocal
=
new
VuexPersistence
({
...
...
@@ -18,7 +19,8 @@ const store = new Vuex.Store({
modules
:
{
home
,
user
,
common
common
,
search
},
plugins
:
[
vuexLocal
.
plugin
,
createLogger
()]
})
...
...
Write
Preview
Markdown
is supported
Attach a file
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 post a comment