From 0fedb57c65b1559979be566e16ea4ac08c348251 Mon Sep 17 00:00:00 2001 From: ma-shaoyin Date: Mon, 18 Jul 2022 15:57:56 +0800 Subject: [PATCH] Signed-off-by: ma-shaoyin Changes to be committed: --- .../main/extend/systemplugin/napi/ohos_inputmethodengine.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/runtime/main/extend/systemplugin/napi/ohos_inputmethodengine.js b/runtime/main/extend/systemplugin/napi/ohos_inputmethodengine.js index f7d6c51a..d7722b82 100644 --- a/runtime/main/extend/systemplugin/napi/ohos_inputmethodengine.js +++ b/runtime/main/extend/systemplugin/napi/ohos_inputmethodengine.js @@ -36,8 +36,8 @@ export function mockInputMethodEngine() { inputOption: 3 } const KeyEvent = { - keyCode: 1, - keyAction: 2, + keyCode: "[PC Preview] unknow keyCode", + keyAction: "[PC Preview] unknow keyAction" } const RichContent = { contentURI: "[PC Preview] unknow contentURI",