|
@@ -162,7 +162,7 @@ export default {
|
|
|
isTenantExist({tenantCode: tenantCode}).then(res => {
|
|
|
if (res == undefined) {
|
|
|
this.$message.warning("请访问正确地址!")
|
|
|
- this.$router.push({path: "/404"})
|
|
|
+ this.$router.push({path: "/401"})
|
|
|
} else if (res.data?.tenantId) { // 判断当前编号是否存在库中
|
|
|
this.tenantId = res.data.tenantId;
|
|
|
this.loginForm.tenantID = this.tenantId;
|
|
@@ -175,11 +175,11 @@ export default {
|
|
|
this.getCookie();
|
|
|
} else {
|
|
|
// 当前访问链接中的租户编号不存在
|
|
|
- this.$router.push({path: "/404"})
|
|
|
+ this.$router.push({path: "/401"})
|
|
|
}
|
|
|
})
|
|
|
} else {
|
|
|
- this.$router.push({path: "/404"})
|
|
|
+ this.$router.push({path: "/401"})
|
|
|
}
|
|
|
},
|
|
|
setConfig() {
|