diff --git a/frameworks/napi/key_code/src/native_register_module.cpp b/frameworks/napi/key_code/src/native_register_module.cpp index 33bb8225408c1cef04b48ba946288b170c21b90d..faaebc1cbe64c98ed94d019e6e7f47b425fe853b 100644 --- a/frameworks/napi/key_code/src/native_register_module.cpp +++ b/frameworks/napi/key_code/src/native_register_module.cpp @@ -23,7 +23,7 @@ static napi_module mmiKeyCodeModule = { .nm_flags = 0, .nm_filename = nullptr, .nm_register_func = JsKeyCode::Export, - .nm_modname = "multimodalInput.keyCode", + .nm_modname = "multimodalInput.KeyCode", .nm_priv = ((void*)0), .reserved = { 0 }, }; diff --git a/frameworks/napi/key_event/src/native_register_module.cpp b/frameworks/napi/key_event/src/native_register_module.cpp index 582471bca6aa5fd9f3b2c7a9bfaaa4bb8512d26a..96ae182bdc75abf6b08d1cf3e187a42e4daa509f 100644 --- a/frameworks/napi/key_event/src/native_register_module.cpp +++ b/frameworks/napi/key_event/src/native_register_module.cpp @@ -22,7 +22,7 @@ static napi_module mmiKeyEventModule = { .nm_flags = 0, .nm_filename = nullptr, .nm_register_func = JsKeyEvent::Export, - .nm_modname = "multimodalInput.keyEvent", + .nm_modname = "multimodalInput.KeyEvent", .nm_priv = ((void*)0), .reserved = { 0 }, }; diff --git a/frameworks/napi/mouse_event/src/native_register_module.cpp b/frameworks/napi/mouse_event/src/native_register_module.cpp index cd2cac41e2683a3a216b06d79a194a0819e7ddaf..5362b40a30f27ee450ac77041b408c5b4cc35221 100644 --- a/frameworks/napi/mouse_event/src/native_register_module.cpp +++ b/frameworks/napi/mouse_event/src/native_register_module.cpp @@ -23,7 +23,7 @@ static napi_module mmiMouseEventModule = { .nm_flags = 0, .nm_filename = nullptr, .nm_register_func = JsMouseEvent::Export, - .nm_modname = "multimodalInput.mouseEvent", + .nm_modname = "multimodalInput.MouseEvent", .nm_priv = ((void*)0), .reserved = { 0 }, }; diff --git a/frameworks/napi/touch_event/src/native_register_module.cpp b/frameworks/napi/touch_event/src/native_register_module.cpp index 39bffbea04a2080294e06e2e09d94790ef2c7515..9f0c52bf1aca1feb001ff55bb2a8db0d4dd905e5 100644 --- a/frameworks/napi/touch_event/src/native_register_module.cpp +++ b/frameworks/napi/touch_event/src/native_register_module.cpp @@ -23,7 +23,7 @@ static napi_module mmiTouchEventModule = { .nm_flags = 0, .nm_filename = nullptr, .nm_register_func = JsTouchEvent::Export, - .nm_modname = "multimodalInput.touchEvent", + .nm_modname = "multimodalInput.TouchEvent", .nm_priv = ((void*)0), .reserved = { 0 }, };