fix: 补全剩余硬编码单位 — 配方分享文本和商业核算消耗分析
All checks were successful
PR Preview / teardown-preview (pull_request) Has been skipped
Test / unit-test (push) Successful in 6s
Test / build-check (push) Successful in 4s
PR Preview / test (pull_request) Successful in 5s
PR Preview / deploy-preview (pull_request) Successful in 16s
Test / e2e-test (push) Successful in 2m55s
All checks were successful
PR Preview / teardown-preview (pull_request) Has been skipped
Test / unit-test (push) Successful in 6s
Test / build-check (push) Successful in 4s
PR Preview / test (pull_request) Successful in 5s
PR Preview / deploy-preview (pull_request) Successful in 16s
Test / e2e-test (push) Successful in 2m55s
- RecipeDetailOverlay: 分享文本 ing.drops滴 → unitLabel - Projects: 消耗分析 每滴→单价, drops滴→unitLabel Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -483,7 +483,7 @@ function copyText() {
|
||||
const ings = cardIngredients.value
|
||||
const lines = ings.map(ing => {
|
||||
const cost = oilsStore.pricePerDrop(ing.oil) * ing.drops
|
||||
return `${ing.oil} ${ing.drops}滴 ${oilsStore.fmtPrice(cost)}`
|
||||
return `${ing.oil} ${ing.drops}${oilsStore.unitLabel(ing.oil)} ${oilsStore.fmtPrice(cost)}`
|
||||
})
|
||||
const total = priceInfo.value.cost
|
||||
const text = [
|
||||
|
||||
Reference in New Issue
Block a user