diff --git a/zh-cn/application-dev/reference/apis/js-apis-service-extension-ability.md b/zh-cn/application-dev/reference/apis/js-apis-service-extension-ability.md index f3a72caed5eddbb876cadf1308be11c30cc481d9..0942e5ac8c1ce16ae548dd567204354cedb63417 100644 --- a/zh-cn/application-dev/reference/apis/js-apis-service-extension-ability.md +++ b/zh-cn/application-dev/reference/apis/js-apis-service-extension-ability.md @@ -192,7 +192,7 @@ onReconnect(want: Want): void; ```js class ServiceExt extends ServiceExtension { - onDisconnect(want) { + onReconnect(want) { console.log('onDisconnect, want:' + want.abilityName); } }