|
@@ -13,7 +13,7 @@ export default {
|
|
|
userInfo: { username: 'admin' },
|
|
|
permissions: { "system:role:delete": true, "system:role:create": true, "system:role:query": true, "system:role:setOpts": true },
|
|
|
projectId: 'Pj4201050001',
|
|
|
- projects: [{ name: '新华创新大厦', id: 'Pj1101080002' }, { name: '亚心医院', id: 'Pj4201050001' }],
|
|
|
+ projects: [{ name: '风雅园', id: 'Pj1101010001' }, { name: '亚心医院', id: 'Pj4201050001' }],
|
|
|
breadcrumb: [],
|
|
|
secret: "saga123456", //密码
|
|
|
userId: "test", //用户id
|
|
@@ -62,6 +62,7 @@ export default {
|
|
|
},
|
|
|
setprojectId: (state, val) => {
|
|
|
state.projectId = val
|
|
|
+ localStorage.setItem('projectId', val)
|
|
|
storage.set(KEY_PROJECT_SELECTED, val)
|
|
|
}
|
|
|
},
|