Signed-off-by: liuchao92 <liuchao92@huawei.com>
Change-Id: Ied476fc8d14dd6b024ad588b0dd31012774908bb
This commit is contained in:
liuchao92 2023-02-25 19:05:20 +08:00 committed by chyyy0213
parent 38c3ea4d96
commit bdaa416af7

View File

@ -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;
}