|  |  |  | 
|---|
|  |  |  | if (res.code === 200) { | 
|---|
|  |  |  | let info = await getUserInfo() | 
|---|
|  |  |  | if (info.code === 200) { | 
|---|
|  |  |  | await store.commit('setEntrance', 'DD') | 
|---|
|  |  |  | await store.commit('setEntrance', 'WX') | 
|---|
|  |  |  | await store.commit('setUserInfo', info.data) | 
|---|
|  |  |  | await store.dispatch('getMenuList', 2) | 
|---|
|  |  |  | await router.replace('/workbench') | 
|---|
|  |  |  | 
|---|
|  |  |  | if (res.data.loginStatus == 0) { | 
|---|
|  |  |  | let info = await getUserInfo() | 
|---|
|  |  |  | if (info.code === 200) { | 
|---|
|  |  |  | await store.commit('setEntrance', 'DD') | 
|---|
|  |  |  | await store.commit('setEntrance', 'WX') | 
|---|
|  |  |  | await store.commit('setUserInfo', info.data) | 
|---|
|  |  |  | await store.dispatch('getMenuList', 2) | 
|---|
|  |  |  | await router.replace('/workbench') | 
|---|
|  |  |  | 
|---|
|  |  |  | input { | 
|---|
|  |  |  | flex: 1; | 
|---|
|  |  |  | height: 100%; | 
|---|
|  |  |  | padding: 0 !important; | 
|---|
|  |  |  | font-size: 30px; | 
|---|
|  |  |  | font-family: PingFangSC-Regular, PingFang SC; | 
|---|
|  |  |  | font-weight: 400; | 
|---|