From 38026e0b1ecd540fb813967a9121aeea6e44834b Mon Sep 17 00:00:00 2001 From: Janie <109517022+Janie06@users.noreply.github.com> Date: Thu, 9 Feb 2023 13:09:43 +0800 Subject: [PATCH] =?UTF-8?q?[WHAT]=20user=20[WHY]=20=E9=96=8B=E7=99=BC=20Sh?= =?UTF-8?q?owEasy=20=E5=89=8D=E8=87=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 1. companyInfo手機版 2. 註冊增加判斷帳號是否重複 --- FrontEnd/pages/user/companyInfo.vue | 4 ++-- FrontEnd/pages/user/signUp.vue | 8 ++++++-- 2 files changed, 8 insertions(+), 4 deletions(-) diff --git a/FrontEnd/pages/user/companyInfo.vue b/FrontEnd/pages/user/companyInfo.vue index 1382a92..3fc4100 100644 --- a/FrontEnd/pages/user/companyInfo.vue +++ b/FrontEnd/pages/user/companyInfo.vue @@ -16,7 +16,7 @@
- +
diff --git a/FrontEnd/pages/user/signUp.vue b/FrontEnd/pages/user/signUp.vue index 1aa4a16..5359cae 100644 --- a/FrontEnd/pages/user/signUp.vue +++ b/FrontEnd/pages/user/signUp.vue @@ -5,6 +5,7 @@

{{ $t("Welcome to ShowEasy!") }}

+

{{ $t("Already have an account?") }} {{ $t("Login") }} @@ -31,6 +32,7 @@

{{ $t("Sign up with Email") }}

{{ $t("Welcome to ShowEasy!") }} + {{ errorDialog }}

{ //console.log(JSON.stringify(response)); + if(response.data.STATUSCODE == "400"){ + this.errorDialog = true; + this.isPageLoading = false; + } if(response && response.data && response.data.DATA && response.data.DATA.rel){ let data = response.data.DATA.rel if(data){ @@ -203,8 +209,6 @@ export default { .catch((err) => { console.log(err); - this.errorDialog = true; - this.isPageLoading = false; }); },