新增用户主页页面

This commit is contained in:
ChloeChen0423
2025-05-19 10:42:13 +09:00
parent 68cb20c2d5
commit 2e6e8d1624
2 changed files with 155 additions and 1 deletions

View File

@ -182,7 +182,7 @@ $(function () {
const token = response.token;
localStorage.setItem('authToken', token);
alert('ログイン成功!');
window.location.href = 'index.html';
window.location.href = 'userhome.html';
$('#loginModal').fadeOut();
},
error: function () {