Signed-off-by: ma-shaoyin <mashaoyin1@huawei.com>

Changes to be committed:
This commit is contained in:
ma-shaoyin 2023-03-21 10:34:43 +08:00
parent cf481e0a6c
commit 44b6123e34

View File

@ -367,6 +367,7 @@ napi_value JsTextInputClientEngine::DeleteForward(napi_env env, napi_callback_in
if (code == ErrorCode::NO_ERROR) {
ctxt->status = napi_ok;
ctxt->SetState(ctxt->status);
ctxt->isDeleteForward = true;
} else {
ctxt->SetErrorCode(code);
}