修复stopInput功能代码实现。

Signed-off-by: Hollokin <taoyuxin2@huawei.com>
This commit is contained in:
Hollokin 2023-01-06 11:09:03 +08:00
parent 7a39cee61c
commit 98c69b6f64

View File

@ -133,6 +133,7 @@ napi_value JsGetInputMethodController::HandleSoftKeyboard(
ctxt->SetErrorCode(errCode);
}
};
ctxt->SetAction(std::move(input), std::move(output));
AsyncCall asyncCall(env, info, std::dynamic_pointer_cast<AsyncCall::Context>(ctxt), 0);
return asyncCall.Call(env, exec);
}