失去焦点

This commit is contained in:
2024-07-31 17:16:50 +08:00
parent b6fec25a21
commit 0001fb5c8f
2 changed files with 6 additions and 6 deletions

View File

@@ -35,9 +35,9 @@
}, },
handleBlur (e) { handleBlur (e) {
this.$emit('input', e.target.value) this.$emit('input', e.target.value)
if (e.target.value.length) { // if (e.target.value.length) {
this.$emit('handleChange', e.target.value) // this.$emit('handleChange', e.target.value)
} // }
this.focusState = false this.focusState = false
}, },
toDel () { toDel () {

View File

@@ -39,9 +39,9 @@
}, },
handleBlur (e) { handleBlur (e) {
this.$emit('input', e.target.value) this.$emit('input', e.target.value)
if (e.target.value.length) { // if (e.target.value.length) {
this.$emit('handleChange', e.target.value) // this.$emit('handleChange', e.target.value)
} // }
this.focusState = false this.focusState = false
}, },
toDel () { toDel () {