fix submitter dropdown bug on safari
This commit is contained in:
@@ -86,10 +86,11 @@ export default {
|
|||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
onBlur (e) {
|
onBlur (e) {
|
||||||
this.value = this.$refs.contenteditable.innerText.trim() || this.modelValue
|
setTimeout(() => {
|
||||||
|
this.value = this.$refs.contenteditable.innerText.trim() || this.modelValue
|
||||||
this.$emit('update:model-value', this.value)
|
this.$emit('update:model-value', this.value)
|
||||||
this.$emit('blur', e)
|
this.$emit('blur', e)
|
||||||
|
}, 1)
|
||||||
},
|
},
|
||||||
focusContenteditable () {
|
focusContenteditable () {
|
||||||
this.$refs.contenteditable.focus()
|
this.$refs.contenteditable.focus()
|
||||||
|
|||||||
Reference in New Issue
Block a user