From 7226a83705e2a214b4fb27036542d182368dc715 Mon Sep 17 00:00:00 2001 From: 07akioni <07akioni2@gmail.com> Date: Sun, 31 May 2020 12:32:44 +0800 Subject: [PATCH] feat(input): private attr-size prop --- src/Input/src/Input.vue | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/Input/src/Input.vue b/src/Input/src/Input.vue index 662686d53..9300c6ac3 100644 --- a/src/Input/src/Input.vue +++ b/src/Input/src/Input.vue @@ -66,6 +66,7 @@ :value="pair ? (value && value[0]) : value" :readonly="readonly" :autofocus="autofocus" + :size="attrSize" @blur="handleInputBlur" @focus="handleInputFocus" @input="handleInput($event, 0)" @@ -257,6 +258,11 @@ export default { autofocus: { type: Boolean, default: false + }, + /** private */ + attrSize: { + type: Number, + default: null } }, data () {