mirror of
https://github.com/YMFE/yapi.git
synced 2024-12-15 05:10:47 +08:00
Merge branch 'dev' of gitlab.corp.qunar.com:mfe/yapi into dev
This commit is contained in:
commit
08e6b274aa
@ -100,7 +100,6 @@ class AddInterface extends Component {
|
||||
props.getResParams('')
|
||||
props.addReqHeader(initData)
|
||||
}
|
||||
document.querySelector('.w-e-text-container').style.height = '200px'
|
||||
}
|
||||
|
||||
getInterfaceId () {
|
||||
|
@ -27,7 +27,7 @@ export default (state = initialState, action) => {
|
||||
loginState: (action.payload.data.errcode == 0)?MEMBER_STATUS:GUEST_STATUS,
|
||||
userName: action.payload.data.data ? action.payload.data.data.username : null,
|
||||
uid: action.payload.data.data ? action.payload.data.data._id : null,
|
||||
server_ip: action.payload.data.data.server_ip
|
||||
server_ip: action.payload.data.data ? action.payload.data.data.server_ip:null
|
||||
};
|
||||
}
|
||||
case LOGIN: {
|
||||
|
@ -27,7 +27,7 @@ export default (state = initialState, action) => {
|
||||
loginState: (action.payload.data.errcode == 0)?MEMBER_STATUS:GUEST_STATUS,
|
||||
userName: action.payload.data.data ? action.payload.data.data.username : null,
|
||||
uid: action.payload.data.data ? action.payload.data.data._id : null,
|
||||
server_ip: action.payload.data.data.server_ip
|
||||
server_ip: action.payload.data.data ? action.payload.data.data.server_ip:null
|
||||
};
|
||||
}
|
||||
case LOGIN: {
|
||||
|
Loading…
Reference in New Issue
Block a user