Feature: 添加俄语、西班牙语支持 & 添加单位国际化

This commit is contained in:
2025-07-19 11:34:11 +08:00
parent 25d4dc7a7f
commit 38d10d7151
14 changed files with 299 additions and 151 deletions

View File

@ -4,9 +4,9 @@
:disabled="disabled"
hide-details
hide-spin-buttons
:label="label"
:label="label + ' (' + $t(`units.${modelValue.unit}`) + ')'"
:model-value="modelValue.value.toString()"
:suffix="modelValue.unit"
:suffix="$t(`units.${modelValue.unit}`)"
type="number"
variant="outlined"
@update:model-value="handleUpdate"