更新 login.html
parent
4a176fb61f
commit
245d08d3cb
|
|
@ -68,7 +68,7 @@
|
||||||
// 如果成功,可能会重定向到其他页面
|
// 如果成功,可能会重定向到其他页面
|
||||||
// 如果失败,可能会显示错误信息
|
// 如果失败,可能会显示错误信息
|
||||||
if (response.success) {
|
if (response.success) {
|
||||||
window.location.href = '/home'; // 或者你的成功页面
|
window.location.href = '/attendance-reminder'; // 或者你的成功页面
|
||||||
} else {
|
} else {
|
||||||
console.log(response.message)
|
console.log(response.message)
|
||||||
layer.alert('登录失败: ' + response.message);
|
layer.alert('登录失败: ' + response.message);
|
||||||
|
|
|
||||||
Reference in New Issue