dashboard
repositories
filestore
activity
search
login
main
/
zhny-dsjdp
智慧农业大数据平台
summary
reflog
commits
tree
docs
forks
compare
blame
|
history
|
raw
农场页面物联网接口
xiebin
2022-08-04
ea79643ffd2d0c4548a5de4a90ae8bfbfeb67c95
[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