vue引入fastclick设置输入框type="number"报错Failed to execute 'setSelectionRange' on 'HTMLInputElement': The input element's type ('number') does not support selection.的解决办法

将输入框type设为text,通过正则验证输入的值

原文地址:https://www.cnblogs.com/shifeng-/p/10721875.html