feat(input): private attr-size prop

This commit is contained in:
07akioni 2020-05-31 12:32:44 +08:00
parent dd108ec550
commit 7226a83705

View File

@ -66,6 +66,7 @@
:value="pair ? (value && value[0]) : value" :value="pair ? (value && value[0]) : value"
:readonly="readonly" :readonly="readonly"
:autofocus="autofocus" :autofocus="autofocus"
:size="attrSize"
@blur="handleInputBlur" @blur="handleInputBlur"
@focus="handleInputFocus" @focus="handleInputFocus"
@input="handleInput($event, 0)" @input="handleInput($event, 0)"
@ -257,6 +258,11 @@ export default {
autofocus: { autofocus: {
type: Boolean, type: Boolean,
default: false default: false
},
/** private */
attrSize: {
type: Number,
default: null
} }
}, },
data () { data () {