diff --git a/zh-cn/application-dev/reference/apis/js-apis-settings.md b/zh-cn/application-dev/reference/apis/js-apis-settings.md index 49f7d8163bad10bad37ce1e6fdbb085d948da5cb..fd47e723a1704c326bd60c77a85e3144132dfbef 100644 --- a/zh-cn/application-dev/reference/apis/js-apis-settings.md +++ b/zh-cn/application-dev/reference/apis/js-apis-settings.md @@ -422,7 +422,7 @@ enableAirplaneMode(enable: boolean): Promise\ ```js let isEnabled = true; -settingsenableAirplaneMode(isEnabled).then((err) => { +settings.enableAirplaneMode(isEnabled).then((err) => { if (err) { console.log('Failed to enable AirplaneMode.'); return;