@@ -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 => {