fix(components): [mention] fix missing input emit (#20651)

This commit is contained in:
kooriookami
2025-05-08 11:00:55 +08:00
committed by GitHub
parent 8d2f08108b
commit afd36831f7

View File

@@ -177,6 +177,7 @@ const handleInputKeyDown = (event: KeyboardEvent | Event) => {
const newValue =
inputValue.slice(0, prefixIndex) + inputValue.slice(splitIndex + 1)
emit(UPDATE_MODEL_EVENT, newValue)
emit(INPUT_EVENT, newValue)
const newSelectionEnd = prefixIndex
nextTick(() => {