初步加入腳色清單
This commit is contained in:
+4
-2
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user