|
@@ -149,6 +149,8 @@ export default {
|
|
|
if (tenantCode != null) {
|
|
|
// 得到tenantId 查询裤中是否存在该租户
|
|
|
isTenantExist({tenantCode: tenantCode}).then(res => {
|
|
|
+
|
|
|
+ if (res == undefined) this.$router.push({path: "/404"})
|
|
|
if (res.data?.tenantId) { // 判断当前编号是否存在库中
|
|
|
|
|
|
this.tenantId = res.data.tenantId;
|