Skip to content

Commit 700d04b

Browse files
committed
fix: typography not trigger onEnd in blur #4227
1 parent a1a8b79 commit 700d04b

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

components/typography/Editable.tsx

+2
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ import EnterOutlined from '@ant-design/icons-vue/EnterOutlined';
55
import { defineComponent, ref, reactive, watch, onMounted } from 'vue';
66

77
const Editable = defineComponent({
8+
name: 'Editable',
89
props: {
910
prefixCls: PropTypes.string,
1011
value: PropTypes.string,
@@ -95,6 +96,7 @@ const Editable = defineComponent({
9596

9697
function onBlur() {
9798
confirmChange();
99+
emit('end');
98100
}
99101

100102
function confirmChange() {

0 commit comments

Comments
 (0)