setTimeout(()=>{
this.refs.forwardInput.setNativeProps({
selection : { start : 0, end : 0}
})
},10)
这里 start 和 end 相同即光标停的位置 若不同则是 默认选择某一段文字
setTimeout(()=>{
this.refs.forwardInput.setNativeProps({
selection : { start : 0, end : 0}
})
},10)
这里 start 和 end 相同即光标停的位置 若不同则是 默认选择某一段文字