diff --git a/components/lib/inputnumber/InputNumber.vue b/components/lib/inputnumber/InputNumber.vue index c041b4e7d2..a4db32f9c7 100755 --- a/components/lib/inputnumber/InputNumber.vue +++ b/components/lib/inputnumber/InputNumber.vue @@ -549,6 +549,10 @@ export default { } }, onPaste(event) { + if (this.readonly || this.disabled) { + return; + } + event.preventDefault(); let data = (event.clipboardData || window['clipboardData']).getData('Text');