mirror of
https://gitee.com/openharmony/window_window_manager
synced 2024-11-23 15:00:12 +00:00
修改读取SceneInfo
Signed-off-by: xiahaiqin <xiahaiqin1@huawei.com> Change-Id: Ife48c37e033c82267b129c4ef5c7dc3757647dc9
This commit is contained in:
parent
921ba8e757
commit
87e79b3797
@ -41,7 +41,7 @@ bool GetAbilityInfoFromJs(NativeEngine& engine, NativeObject* jsObject,
|
||||
}
|
||||
if (jsAbilityName->TypeOf() != NATIVE_UNDEFINED) {
|
||||
std::string abilityName;
|
||||
if (!ConvertFromJsValue(engine, jsBundleName, abilityName)) {
|
||||
if (!ConvertFromJsValue(engine, jsAbilityName, abilityName)) {
|
||||
WLOGFE("[NAPI]Failed to convert parameter to bundleName");
|
||||
return false;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user