From d9d582f0d668386af0c9e0aad7900383d5831409 Mon Sep 17 00:00:00 2001 From: smallchill Date: Sun, 16 Feb 2020 16:44:19 +0800 Subject: [PATCH] =?UTF-8?q?:zap:=20=E5=A2=9E=E5=8A=A0=E9=AA=8C=E8=AF=81?= =?UTF-8?q?=E7=A0=81=E5=88=B7=E6=96=B0=E6=9C=BA=E5=88=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/page/login/userlogin.vue | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/page/login/userlogin.vue b/src/page/login/userlogin.vue index 5ecbf4b..cae24bc 100644 --- a/src/page/login/userlogin.vue +++ b/src/page/login/userlogin.vue @@ -140,13 +140,14 @@ this.$router.push({path: this.tagWel.value}); loading.close(); }).catch(() => { - loading.close() + loading.close(); + this.refreshCode(); }); } }); }, getTenant() { - let domain = window.location.href.replace("/#/login", ""); + let domain = window.location.href.split("/#/")[0]; // 临时指定域名,方便测试 //domain = "https://bladex.vip"; info(domain).then(res => {