|
|
|
@ -7,7 +7,7 @@ import Dialog, {
|
|
|
|
|
DialogContentText,
|
|
|
|
|
DialogTitle,
|
|
|
|
|
} from 'material-ui/Dialog';
|
|
|
|
|
|
|
|
|
|
import {notification } from 'antd';
|
|
|
|
|
|
|
|
|
|
import axios from 'axios';
|
|
|
|
|
|
|
|
|
@ -349,7 +349,12 @@ class LoginDialog extends Component {
|
|
|
|
|
if(response.status===200){
|
|
|
|
|
if (response.data.status === 402) {
|
|
|
|
|
window.location.href = response.data.url;
|
|
|
|
|
}else{
|
|
|
|
|
}else if (response.data.status === -2) {
|
|
|
|
|
notification.open({
|
|
|
|
|
message: '提示',
|
|
|
|
|
description:response.data.message,
|
|
|
|
|
});
|
|
|
|
|
}else{
|
|
|
|
|
broadcastChannelPostMessage('refreshPage')
|
|
|
|
|
this.setState({
|
|
|
|
|
isRender:false
|
|
|
|
|