mirror of
https://github.com/ArthurDanjou/ui.git
synced 2026-01-26 01:40:34 +01:00
chore(components): clean and import required components
This commit is contained in:
@@ -5,7 +5,7 @@
|
||||
ref="textarea"
|
||||
v-focus="autofocus"
|
||||
:name="name"
|
||||
:value="value"
|
||||
:value="modelValue"
|
||||
:rows="rows"
|
||||
:required="required"
|
||||
:disabled="disabled"
|
||||
@@ -25,7 +25,7 @@ export default {
|
||||
focus: Focus
|
||||
},
|
||||
props: {
|
||||
value: {
|
||||
modelValue: {
|
||||
type: [String, Number],
|
||||
default: ''
|
||||
},
|
||||
@@ -84,6 +84,7 @@ export default {
|
||||
default: false
|
||||
}
|
||||
},
|
||||
emits: ['update:modelValue'],
|
||||
computed: {
|
||||
sizeClass () {
|
||||
return ({
|
||||
@@ -151,7 +152,7 @@ export default {
|
||||
})
|
||||
},
|
||||
updateValue (value) {
|
||||
this.$emit('input', value)
|
||||
this.$emit('update:modelValue', value)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user