提交 e223d41c 编写于 作者: Q qiang

fix: 修复部分输入法 input 事件未触发的问题 question/101135

上级 0780fadc
...@@ -215,6 +215,8 @@ export default { ...@@ -215,6 +215,8 @@ export default {
this.composing = true this.composing = true
} else { } else {
this.composing = false this.composing = false
// 部分输入法 compositionend 事件可能晚于 input
this._onInput($event)
} }
}, },
_resetFormData () { _resetFormData () {
......
...@@ -237,6 +237,8 @@ export default { ...@@ -237,6 +237,8 @@ export default {
}, },
_compositionend ($event) { _compositionend ($event) {
this.composition = false this.composition = false
// 部分输入法 compositionend 事件可能晚于 input
this._input($event)
}, },
// 暂无完成按钮,此功能未实现 // 暂无完成按钮,此功能未实现
_confirm ($event) { _confirm ($event) {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册