From 109db1356bee5b847c7410fea1ff0ee73b28de21 Mon Sep 17 00:00:00 2001 From: Raymond Yang Date: Wed, 21 Jun 2023 16:07:39 +0800 Subject: [PATCH] =?UTF-8?q?=E5=88=9D=E6=AD=A5=E5=8A=A0=E5=85=A5=E8=85=B3?= =?UTF-8?q?=E8=89=B2=E6=B8=85=E5=96=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- characters.html | 34 +++++++++++++++++++++++++++++++ login.html | 6 ++++-- register.html | 54 +++++++++++++++++++++++++++++++++++++++++++++++++ 3 files changed, 92 insertions(+), 2 deletions(-) create mode 100644 register.html diff --git a/characters.html b/characters.html index e69de29..1a4fa7e 100644 --- a/characters.html +++ b/characters.html @@ -0,0 +1,34 @@ + + + + + + + + 所有角色 + + +
+ + + + + \ No newline at end of file diff --git a/login.html b/login.html index 1eea697..0751495 100644 --- a/login.html +++ b/login.html @@ -5,7 +5,7 @@ - Login + 登入
@@ -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); }); } diff --git a/register.html b/register.html new file mode 100644 index 0000000..53e4ca4 --- /dev/null +++ b/register.html @@ -0,0 +1,54 @@ + + + + + + + + 註冊 + + + + +

+

+

+
+ + + + + + \ No newline at end of file