modified: public/script.js
This commit is contained in:
parent
351eefc567
commit
f693b62f41
@ -57,7 +57,6 @@ $(document).ready(function() {
|
||||
data: JSON.stringify({ username, password }),
|
||||
success: function(response) {
|
||||
if (response.success) {
|
||||
alert('登录成功');
|
||||
window.location.href = '/main.html';
|
||||
} else {
|
||||
alert(response.message);
|
||||
|
Loading…
Reference in New Issue
Block a user