类似于setTimeout(() => bodyTextArea.setSelectionRange(2, 2))。在您将光标设置到所需位置并重置...
vue引入fastclick设置输入框type="number"报错Failed to execute 'setSelectionRange' on 'HTMLInputElement': The input element's type ('number') does not support selection.的解决办法 将输入框type设为text,通过正则验证输入的值
Bug Type: Component Environment Vue Version: 3.2.45 Element Plus Version: 2.2.21 Browser / OS: Firefox 106 / Chrome 107 Build Tool: Webpack Reproduction Related Component el-input Reproduction Link Link Steps to reproduce After upgrade t...