mirror of
https://gitee.com/openharmony/window_window_manager
synced 2024-11-23 15:00:12 +00:00
fix bug
Signed-off-by: liuchao92 <liuchao92@huawei.com> Change-Id: Ied476fc8d14dd6b024ad588b0dd31012774908bb
This commit is contained in:
parent
38c3ea4d96
commit
bdaa416af7
@ -83,8 +83,8 @@ NativeValue* JsScreenUtils::CreateJsScreenConnectChangeType(NativeEngine& engine
|
||||
return engine.CreateUndefined();
|
||||
}
|
||||
|
||||
object->SetProperty("CONNECT", CreateJsValue(engine, CreateJsValue(engine, 0)));
|
||||
object->SetProperty("DISCONNECT", CreateJsValue(engine, CreateJsValue(engine, 1)));
|
||||
object->SetProperty("CONNECT", CreateJsValue(engine, 0));
|
||||
object->SetProperty("DISCONNECT", CreateJsValue(engine, 1));
|
||||
|
||||
return objValue;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user