fix: Excel 导出英文名也直接取 DB meta.enName
All checks were successful
PR Preview / test (pull_request) Has been skipped
Deploy Production / test (push) Successful in 7s
PR Preview / teardown-preview (pull_request) Successful in 14s
PR Preview / deploy-preview (pull_request) Has been skipped
Test / unit-test (push) Successful in 6s
Test / build-check (push) Successful in 4s
Deploy Production / deploy (push) Successful in 6s
Test / e2e-test (push) Successful in 3m2s

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit was merged in pull request #41.
This commit is contained in:
2026-04-16 11:01:19 +00:00
parent c04bb53ddd
commit e8af6e2565

View File

@@ -900,7 +900,7 @@ async function exportExcel() {
for (const name of sortedNames) {
const meta = getMeta(name)
if (!meta) continue
const en = getEnglishName(name)
const en = meta.enName || getEnglishName(name)
const vol = volumeLabel(meta.dropCount, name)
const unit = oilPriceUnit(name)
const ppdNum = oils.pricePerDrop(name)