mirror of
http://112.124.100.131/GFRS/ebiz-h5.git
synced 2025-12-22 10:36:45 +08:00
【国富人寿综合意外伤害保险(2023版)】ios无法输入小数点问题处理
This commit is contained in:
@@ -841,8 +841,11 @@ export default {
|
|||||||
}
|
}
|
||||||
//键盘小数点无法输入,试了一下iOS16以下没这个问题,iOS16以上有这个问题, type="number"改成type="digit"就可以输入了,
|
//键盘小数点无法输入,试了一下iOS16以下没这个问题,iOS16以上有这个问题, type="number"改成type="digit"就可以输入了,
|
||||||
this.$nextTick (()=>{
|
this.$nextTick (()=>{
|
||||||
var div1 = document.getElementsByClassName('van-stepper__input')[0]
|
var div1 = document.getElementsByClassName('van-stepper__input')
|
||||||
div1.setAttribute('type','digit')
|
//拿到的是一个数组集合,遍历修改每一个input
|
||||||
|
for(var x in div1){
|
||||||
|
div1[x].setAttribute('type','digit')
|
||||||
|
}
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
//特殊处理 GFRS_M0016 GFRS_A0004 GFRS_A0005 赔付比例处理
|
//特殊处理 GFRS_M0016 GFRS_A0004 GFRS_A0005 赔付比例处理
|
||||||
|
|||||||
Reference in New Issue
Block a user