| | |
| | | // let res = await testLogin({ // 英子姐 |
| | | // username: '18055151023', |
| | | // password: '123456', |
| | | // companyId: '1', |
| | | // companyId: '8', |
| | | // uuid: '0000', |
| | | // code: '0000' |
| | | // }) |
| | | // let res = await testLogin({ // 大栓 |
| | | // username: '18019924213', |
| | | // password: '123456', |
| | | // companyId: '1', |
| | | // companyId: '8', |
| | | // uuid: '0000', |
| | | // code: '0000' |
| | | // }) |
| | |
| | | window.localStorage.setItem('token', res.data) |
| | | let info: any = await getUserInfo() |
| | | if (info.code === 200) { |
| | | // await store.commit('setEntrance', 'H5') |
| | | await store.commit('setEntrance', 'H5') |
| | | await store.commit('setUserInfo', info.data) |
| | | await store.dispatch('getMenuList', 2) |
| | | await router.go(-1) |