fix: 修复构建报错和 ESLint 兼容性问题

This commit is contained in:
Ray.Hao
2026-04-22 00:36:57 +08:00
parent e4b6166e62
commit aad936a243
2 changed files with 2 additions and 2 deletions

View File

@@ -252,7 +252,7 @@ export default defineMock([
},
];
const tenant = allTenants.find((t) => t.id === tenantId) || null;
const tenant = allTenants.find((t) => t.id === String(tenantId)) || null;
return {
code: tenant ? "00000" : "A0400",