fix: improve dashboard react doctor score (#215)

This commit is contained in:
Eyejoker
2026-06-03 08:30:27 +08:00
committed by GitHub
parent 2dab27f443
commit 32468e0214
10 changed files with 309 additions and 141 deletions

View File

@@ -80,9 +80,7 @@ async function measure(page: Page, sel: string) {
}
async function evalExpr(page: Page, expr: string) {
const result = await page.evaluate((e) => {
return eval(e);
}, expr);
const result = await page.evaluate(expr);
console.log(JSON.stringify(result, null, 2));
}