src/views/login/loginform.jsx
@@ -18,7 +18,6 @@ class LoginTabForm extends Component { static propTpyes = { isDisabled: PropTypes.bool, changelang: PropTypes.func, handleSubmit: PropTypes.func, authLogin: PropTypes.func, dict: PropTypes.object, @@ -174,8 +173,12 @@ }) } changelang = (item) => { this.props.changelang(item) changelang = (val) => { const _href = window.location.href.split('#')[0] localStorage.setItem(_href + 'lang', val) sessionStorage.setItem('lang', val) window.location.reload() } handleSubmit = e => {