|
@@ -29,6 +29,7 @@ class LoginForm extends React.Component {
|
|
|
let url = res.data && res.data.successRedirectUrl;
|
|
|
url = `${url}&state=${this.props.referUrl}`;
|
|
|
window.top.location.href = url;
|
|
|
+ window.top.localStorage.setItem('canDownload', res.data.canDownload);
|
|
|
this.setState({ loading: false });
|
|
|
})
|
|
|
.catch(error => {
|