mirror of
https://github.com/tusen-ai/naive-ui.git
synced 2025-01-12 12:25:16 +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"
|
: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 () {
|
||||||
|
Loading…
Reference in New Issue
Block a user