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

!1939 修复示例代码中的错误拼写 SerivceAbility

Merge pull request !1939 from rtos-lover/master
......@@ -29,19 +29,19 @@
```javascript
export default {
onStart(want) {
console.log('SerivceAbility onStart');
console.log('ServiceAbility onStart');
},
onCommand(want, restart, startId) {
console.log('SerivceAbility onCommand');
console.log('ServiceAbility onCommand');
},
onConnect(want) {
console.log('SerivceAbility OnConnect');
console.log('ServiceAbility OnConnect');
},
onDisconnect() {
console.log('SerivceAbility OnDisConnect');
console.log('ServiceAbility OnDisConnect');
},
onStop() {
console.log('SerivceAbility onStop');
console.log('ServiceAbility onStop');
},
}
```
......@@ -170,17 +170,17 @@ export default {
mMyStub = new MyStub("ServiceAbility-test");
},
onCommand(want, restart, startId) {
console.log('SerivceAbility onCommand');
console.log('ServiceAbility onCommand');
},
onConnect(want) {
console.log('SerivceAbility OnConnect');
console.log('ServiceAbility OnConnect');
return mMyStub;
},
onDisconnect() {
console.log('SerivceAbility OnDisConnect');
console.log('ServiceAbility OnDisConnect');
},
onStop() {
console.log('SerivceAbility onStop');
console.log('ServiceAbility onStop');
},
}
```
......@@ -252,17 +252,17 @@ export default {
mMyStub = new MyStub("ServiceAbility-test");
},
onCommand(want, restart, startId) {
console.log('SerivceAbility onCommand');
console.log('ServiceAbility onCommand');
},
onConnect(want) {
console.log('SerivceAbility OnConnect');
console.log('ServiceAbility OnConnect');
return mMyStub;
},
onDisconnect() {
console.log('SerivceAbility OnDisConnect');
console.log('ServiceAbility OnDisConnect');
},
onStop() {
console.log('SerivceAbility onStop');
console.log('ServiceAbility onStop');
},
}
```
......@@ -29,19 +29,19 @@
```javascript
export default {
onStart(want) {
console.log('SerivceAbility onStart');
console.log('ServiceAbility onStart');
},
onCommand(want, restart, startId) {
console.log('SerivceAbility onCommand');
console.log('ServiceAbility onCommand');
},
onConnect(want) {
console.log('SerivceAbility OnConnect');
console.log('ServiceAbility OnConnect');
},
onDisconnect() {
console.log('SerivceAbility OnDisConnect');
console.log('ServiceAbility OnDisConnect');
},
onStop() {
console.log('SerivceAbility onStop');
console.log('ServiceAbility onStop');
},
}
```
......@@ -168,17 +168,17 @@ export default {
mMyStub = new MyStub("ServiceAbility-test");
},
onCommand(want, restart, startId) {
console.log('SerivceAbility onCommand');
console.log('ServiceAbility onCommand');
},
onConnect(want) {
console.log('SerivceAbility OnConnect');
console.log('ServiceAbility OnConnect');
return mMyStub;
},
onDisconnect() {
console.log('SerivceAbility OnDisConnect');
console.log('ServiceAbility OnDisConnect');
},
onStop() {
console.log('SerivceAbility onStop');
console.log('ServiceAbility onStop');
},
}
```
......@@ -250,17 +250,17 @@ export default {
mMyStub = new MyStub("ServiceAbility-test");
},
onCommand(want, restart, startId) {
console.log('SerivceAbility onCommand');
console.log('ServiceAbility onCommand');
},
onConnect(want) {
console.log('SerivceAbility OnConnect');
console.log('ServiceAbility OnConnect');
return mMyStub;
},
onDisconnect() {
console.log('SerivceAbility OnDisConnect');
console.log('ServiceAbility OnDisConnect');
},
onStop() {
console.log('SerivceAbility onStop');
console.log('ServiceAbility onStop');
},
}
```
\ No newline at end of file
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册