dashboard
repositories
filestore
activity
search
login
main
/
zhny-dsjdp
智慧农业大数据平台
summary
reflog
commits
tree
docs
forks
compare
blame
|
history
|
raw
首页样式更改
shuishen
2022-08-04
b5072d2f774a30b4e90458b09e34861e4c75f400
[zhny-dsjdp.git]
/
src
/
store
/
modules
/
user.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
import * as auth from '@/utils/auth'
const user = {
state: {
user: null
},
mutations: {
setUser (state, user) {
state.user = user
auth.setToken(user.access_token)
}
},
actions: {
}
}
export default user