diff --git a/devtools/devtools-integration/ohos/include/devtools_napi.h b/devtools/devtools-integration/ohos/include/devtools_napi.h index d6278ac74c3..cca4ffa10b7 100644 --- a/devtools/devtools-integration/ohos/include/devtools_napi.h +++ b/devtools/devtools-integration/ohos/include/devtools_napi.h @@ -27,13 +27,6 @@ namespace hippy::devtools { -// class DevToolsNapi { -// public: -// // 构造函数 -// DevToolsNapi(); -// static napi_value Add(napi_env env, napi_callback_info info); -// }; - } diff --git a/framework/examples/ohos-demo/src/main/ets/pages/PageConfiguration.ets b/framework/examples/ohos-demo/src/main/ets/pages/PageConfiguration.ets index 2c296e08e63..c1105cdaa6a 100755 --- a/framework/examples/ohos-demo/src/main/ets/pages/PageConfiguration.ets +++ b/framework/examples/ohos-demo/src/main/ets/pages/PageConfiguration.ets @@ -101,8 +101,7 @@ struct PageConfiguration { let params = new EngineInitParams(this.libHippy!, this.abilityContext!) params.debugServerHost = info.debugServerHost as string params.debugMode = info.isDebugMode as boolean - params.enableLog = true - // params.remoteServerUrl = 'http://127.0.0.1:38989/index.bundle?debugUrl=ws%3A%2F%2F127.0.0.1%3A38989%2Fdebugger-proxy' + // params.enableLog = true params.providers = new Array(new ExampleAPIProvider())