From c38b70070219294757584314d2ab19b48479faac Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9D=8E=E6=89=AC?= Date: Sat, 23 Sep 2017 07:58:11 -0500 Subject: [PATCH] fix unicode vm binding ref: https://github.com/RubyLouvre/avalon/issues/1806 --- static/src/js/lib/avalon/avalon.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/static/src/js/lib/avalon/avalon.js b/static/src/js/lib/avalon/avalon.js index 296c2457..4e561c6a 100644 --- a/static/src/js/lib/avalon/avalon.js +++ b/static/src/js/lib/avalon/avalon.js @@ -3870,6 +3870,7 @@ var duplexBinding = avalon.directive("duplex", { } function compositionEnd() { composing = false + setTimeout(updateVModel) } var updateVModel = function () { var val = elem.value //防止递归调用形成死循环 @@ -5857,4 +5858,4 @@ avalon.ready(function () { } return avalon -})); \ No newline at end of file +}));