update 优化 eslint

This commit is contained in:
疯狂的狮子Li
2024-06-28 10:18:18 +08:00
parent 27d36f7970
commit 7637582437
20 changed files with 27 additions and 34 deletions

View File

@ -18,7 +18,7 @@ const code = route.query.code as string;
const state = route.query.state as string;
const source = route.query.source as string;
const stateJson = JSON.parse(atob(state));
const tenantId = stateJson.tenantId as string ? stateJson.tenantId as string : '000000';
const tenantId = (stateJson.tenantId as string) ? (stateJson.tenantId as string) : '000000';
const domain = stateJson.domain as string;
const processResponse = async (res: any) => {