fix: typography not trigger onEnd in blur #4227

This commit is contained in:
tangjinzhou 2021-06-19 15:49:39 +08:00
parent a1a8b799d0
commit 700d04badc

View File

@ -5,6 +5,7 @@ import EnterOutlined from '@ant-design/icons-vue/EnterOutlined';
import { defineComponent, ref, reactive, watch, onMounted } from 'vue';
const Editable = defineComponent({
name: 'Editable',
props: {
prefixCls: PropTypes.string,
value: PropTypes.string,
@ -95,6 +96,7 @@ const Editable = defineComponent({
function onBlur() {
confirmChange();
emit('end');
}
function confirmChange() {