qb-admin-fe/test/views/layout/store.conf.js
2019-03-23 14:09:48 +00:00

34 lines
720 B
JavaScript

import app from '@/store/modules/app'
import errorLog from '@/store/modules/errorLog'
import permission from '@/store/modules/permission'
import tagsView from '@/store/modules/tagsView'
import user from '@/store/modules/user'
import users from '@/store/modules/users'
import getters from '@/store/getters'
export default {
modules: {
app,
errorLog,
permission,
tagsView,
user: {
...user,
state: {
id:"10",
status: '',
code: '',
token: "foo123",
authHost:"apple",
name:"bob",
avatar: '',
introduction: '',
roles: ['admin'],
setting: {
articlePlatform: []
}
}
}
},
getters
}