初步加入腳色清單

This commit is contained in:
Raymond Yang
2023-06-21 16:07:39 +08:00
parent 7934f7dd4c
commit 109db1356b
3 changed files with 92 additions and 2 deletions
+4 -2
View File
@@ -5,7 +5,7 @@
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Login</title>
<title>登入</title>
</head>
<body>
<form id="login-form">
@@ -44,7 +44,9 @@
window.location.href = './index.html';
})
.catch(function(error) {
console.error('登录失败:', error);
const message = error.response.data.message;
alert('登入失敗');
//console.error('登入失敗:', error);
});
}
</script>