Feature: 添加俄语、西班牙语支持 & 添加单位国际化
This commit is contained in:
@ -26,19 +26,19 @@
|
||||
<v-col cols="12">
|
||||
<param-input-field
|
||||
v-model="paperCoreDiameter"
|
||||
:label="`${$t('paperCoreDiameter')} (${paperCoreDiameter.unit})`"
|
||||
:label="$t('paperCoreDiameter')"
|
||||
/>
|
||||
</v-col>
|
||||
<v-col cols="12">
|
||||
<param-input-field
|
||||
v-model="paperRollWallThickness"
|
||||
:label="`${$t('paperRollWallThickness')} (${paperRollWallThickness.unit})`"
|
||||
:label="$t('paperRollWallThickness')"
|
||||
/>
|
||||
</v-col>
|
||||
<v-col cols="12">
|
||||
<param-input-field
|
||||
v-model="innerPaperWidth"
|
||||
:label="`${$t('innerPaperWidth')} (${innerPaperWidth.unit})`"
|
||||
:label="$t('innerPaperWidth')"
|
||||
/>
|
||||
</v-col>
|
||||
</v-row>
|
||||
@ -106,8 +106,8 @@
|
||||
const paperWidth = leadingLength * Math.sin(Math.atan(paperRollExternalDiameter * Math.PI / leadingLength))
|
||||
|
||||
return {
|
||||
beltAngle: createParam(beltAngle, '°'),
|
||||
paperHolderAngle: createParam(paperHolderAngle, '°'),
|
||||
beltAngle: createParam(beltAngle, 'degree'),
|
||||
paperHolderAngle: createParam(paperHolderAngle, 'degree'),
|
||||
leadingLength: createParam(leadingLength, 'mm'),
|
||||
paperWidth: createParam(paperWidth, 'mm'),
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user