6cdf9f99 by yangwei

登录修改

1 parent 50d4471c
......@@ -111,6 +111,15 @@ export default {
this.initPage();
this.userInfo.redirectUrl = localStorage.getItem("sjsb-location");
this.reloadCaptcha()
let self = this;
document.onkeydown = function (e) {
//按下回车提交
let key = window.event.keyCode;
//事件中keycode=13为回车事件
if (key == 13) {
self.goHome();
}
};
},
methods: {
// 更新验证码
......