Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
ds147000
/
react-project-storage
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit a49ad6dc
authored
Jul 21, 2020
by
郑永杰
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
添加usr全局状态
1 parent
df27d01e
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
1 deletions
src/store/index.js
src/store/index.js
View file @
a49ad6d
import
{
init
}
from
'@rematch/core'
import
{
init
}
from
'@rematch/core'
import
{
createConetxt
}
from
'./context'
import
{
createConetxt
}
from
'./context'
import
route
from
'./modules/route/index'
import
route
from
'./modules/route/index'
import
user
from
'./modules/user/index'
const
store
=
init
({
const
store
=
init
({
models
:
{
route
}
models
:
{
route
,
user
}
})
})
createConetxt
(
store
)
createConetxt
(
store
)
...
...
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