未验证 提交 3f3aa9f6 编写于 作者: O openharmony_ci 提交者: Gitee

!4613 【OpenHarmony开源贡献者计划2022】onConnectRemotelService should be onConnectRemoteService

Merge pull request !4613 from rtos_qing/onConnectRemoteService
...@@ -226,7 +226,7 @@ The following code snippet shows how to implement the callbacks: ...@@ -226,7 +226,7 @@ The following code snippet shows how to implement the callbacks:
let mRemote; let mRemote;
function onConnectCallback(element, remote){ function onConnectCallback(element, remote){
console.log('onConnectRemoteService onConnectDone element: ' + element); console.log('onConnectRemoteService onConnectDone element: ' + element);
console.log('onConnectRemotelService onConnectDone remote: ' + remote); console.log('onConnectRemoteService onConnectDone remote: ' + remote);
mRemote = remote; mRemote = remote;
if (mRemote == null) { if (mRemote == null) {
prompt.showToast({ prompt.showToast({
......
...@@ -246,7 +246,7 @@ import prompt from '@system.prompt' ...@@ -246,7 +246,7 @@ import prompt from '@system.prompt'
let mRemote; let mRemote;
function onConnectCallback(element, remote){ function onConnectCallback(element, remote){
console.log('onConnectRemoteService onConnectDone element: ' + element); console.log('onConnectRemoteService onConnectDone element: ' + element);
console.log('onConnectRemotelService onConnectDone remote: ' + remote); console.log('onConnectRemoteService onConnectDone remote: ' + remote);
mRemote = remote; mRemote = remote;
if (mRemote == null) { if (mRemote == null) {
prompt.showToast({ prompt.showToast({
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册