Commit 97645635 by yancanhua

feat: 单位

1 parent 3a7049a3
Pipeline #139 for 97645635 failed in 0 seconds
......@@ -312,7 +312,11 @@ defineExpose({
:min="getValidationRules(item).min || 0" :placeholder="item.placeholder"
:required="item.required === 1" step="0.01" type="number"
@input="(e) => { item.value = parseFloat(item.value)?.toFixed(getValidationRules(item).decimalDigits || 2) || '' }"
input-align="right" label-width="120px" />
input-align="right" label-width="120px" >
<template v-if="item.suffix" #right-icon>
<span>{{ item.suffix }}</span>
</template>
</van-field>
</div>
<!-- 单选框 -->
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!