|
@@ -67,6 +67,7 @@ export default {
|
|
|
methods:{
|
|
|
changeVal(e,num,type){
|
|
|
let tmpTxt = '',arr=this.tmpArr
|
|
|
+ document.activeElement.scrollIntoViewIfNeeded(true);
|
|
|
if(type == 'number'){
|
|
|
e.currentTarget.value=e.currentTarget.value.replace(/[^\d]/g,'')
|
|
|
}
|
|
@@ -91,6 +92,7 @@ export default {
|
|
|
},
|
|
|
handleClick(e){
|
|
|
// 点击输入框时不选中该项
|
|
|
+ document.activeElement.scrollIntoViewIfNeeded(true);
|
|
|
e.stopPropagation();
|
|
|
}
|
|
|
},
|