ios的版本用系统默认的输入法不能输入小数点

This commit is contained in:
li.yuetong
2022-12-16 16:56:49 +08:00
committed by xushisen
parent 91ebd30108
commit 1fa9c2a48f

View File

@@ -31,7 +31,7 @@
<!-- {{ riskFactorIndex }} -->
<!-- {{defalutAmt}} -->
<van-stepper
v-model="item.calFactorLst[riskFactorIndex].displayAmount"
v-model.number="item.calFactorLst[riskFactorIndex].displayAmount"
:min="riskFactor.minAmt || riskFactor.minPrem"
:max="riskFactor.maxAmt || riskFactor.maxPrem"
:show-plus="false"
@@ -173,7 +173,7 @@
</span>
<span v-else class="fs14">{{ riskFactor.name }} &nbsp;&nbsp; &nbsp;&nbsp;</span>
<van-stepper
v-model="item.productTrialYearDTOS[payEndYearColumnsIndex].displayAmount"
v-model.number="item.productTrialYearDTOS[payEndYearColumnsIndex].displayAmount"
:min="item.productTrialYearDTOS[payEndYearColumnsIndex].minAmt || item.productTrialYearDTOS[payEndYearColumnsIndex].minPrem"
:max="item.productTrialYearDTOS[payEndYearColumnsIndex].maxAmt || item.productTrialYearDTOS[payEndYearColumnsIndex].maxPrem"
:show-plus="false"