焦点
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user