This commit is contained in:
2024-05-13 17:25:18 +08:00
parent 6d009a31a0
commit 2da404ee83

View File

@@ -27,22 +27,8 @@
event: 'input'
},
props: {
value: String,
focused: {
type: Boolean,
default: false
}
value: String
},
watch: {
focused() {
this.focusState = this.focused
},
},
mounted () {
if (this.focused) {
this.focusState = true
}
},
methods: {
handleFocus () {
this.focusState = true