student_login.js
476 字节
define(['jquery', 'bootstrap', 'frontend', 'form', 'template', 'swiper', 'layer'], function($, undefined, Frontend,
Form, Template, Swiper, Layer) {
var Controller = {
index: function() {
Controller.api.bindevent();
},
api: {
bindevent: function () {
Form.api.bindevent($("form[role=form]"),function () {
setTimeout(function () {
window.location.href = "/";
},1000)
});
}
}
}
return Controller;
});