Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
notifyChange (value) {
if (value !== undefined) {
this.setValue(value)
}
// 通过原生input派发事件
this.$refs.textarea.dispatchEvent(getCustomEvent('input'))
},
setSelectionRange (start, end) {
notifyChange (value) {
if (value !== undefined) {
this.setValue(value)
}
// 通过原生input派发事件
this.$refs.input.dispatchEvent(getCustomEvent('input'))
},
setSelectionRange (start, end) {