From 7ea8de4b7ee78affae03d2f07fbd49bbaa068ff3 Mon Sep 17 00:00:00 2001 From: tangjinzhou <415800467@qq.com> Date: Tue, 22 Sep 2020 07:25:44 +0800 Subject: [PATCH] fix: input compositionend not trigger change --- components/input/ResizableTextArea.jsx | 4 ++- components/vc-calendar/src/date/DateInput.jsx | 33 ++++++++++-------- components/vc-mentions/src/Mentions.jsx | 5 +-- components/vc-pagination/Options.jsx | 23 ++++++++----- components/vc-pagination/Pagination.jsx | 23 ++++++++----- components/vc-time-picker/Header.jsx | 7 ++-- components/vc-tree-select/src/SearchInput.jsx | 34 +++++++++++-------- 7 files changed, 77 insertions(+), 52 deletions(-) diff --git a/components/input/ResizableTextArea.jsx b/components/input/ResizableTextArea.jsx index f99aa9459..b62e7d21e 100644 --- a/components/input/ResizableTextArea.jsx +++ b/components/input/ResizableTextArea.jsx @@ -8,6 +8,8 @@ import BaseMixin from '../_util/BaseMixin'; import inputProps from './inputProps'; import PropTypes from '../_util/vue-types'; import { getOptionProps } from '../_util/props-util'; +import { withDirectives } from 'vue'; +import antInput from '../_util/antInputDirective'; const RESIZE_STATUS_NONE = 0; const RESIZE_STATUS_RESIZING = 1; @@ -139,7 +141,7 @@ const ResizableTextArea = { } return ( -