mirror of
https://github.com/tusen-ai/naive-ui.git
synced 2024-12-21 04:50:14 +08:00
feat(input): private attr-size prop
This commit is contained in:
parent
dd108ec550
commit
7226a83705
@ -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 () {
|
||||
|
Loading…
Reference in New Issue
Block a user