diff --git a/zh-cn/application-dev/reference/apis/js-apis-geoLocationManager.md b/zh-cn/application-dev/reference/apis/js-apis-geoLocationManager.md index 1887a656860e3358afa2b986d8b4757eff74e151..9de4f4b835bdf90523da4838d0ddaade3112884d 100644 --- a/zh-cn/application-dev/reference/apis/js-apis-geoLocationManager.md +++ b/zh-cn/application-dev/reference/apis/js-apis-geoLocationManager.md @@ -88,7 +88,7 @@ import geoLocationManager from '@ohos.geoLocationManager'; | countryCode | string | 是 | 否 | 表示国家码信息。 | | countryName | string| 是 | 否 | 表示国家信息。 | | administrativeArea | string | 是 | 否 | 表示省份区域信息。 | -| subAdministrativeArea | string | 是 | 否 | 表示表示子区域信息。 | +| subAdministrativeArea | string | 是 | 否 | 表示子区域信息。 | | locality | string | 是 | 否 | 表示城市信息。 | | subLocality | string | 是 | 否 | 表示子城市信息。 | | roadName | string | 是 | 否 |表示路名信息。 | @@ -782,12 +782,12 @@ on(type: 'gnssFenceStatusChange', request: GeofenceRequest, want: WantAgent): vo { bundleName: "com.example.myapplication", abilityName: "EntryAbility", - action: "action1", + action: "action1" } ], operationType: wantAgent.OperationType.START_ABILITY, requestCode: 0, - wantAgentFlags: [wantAgent.WantAgentFlags.UPDATE_PRESENT_FLAG], + wantAgentFlags: [wantAgent.WantAgentFlags.UPDATE_PRESENT_FLAG] }; wantAgent.getWantAgent(wantAgentInfo).then((wantAgentObj) => { diff --git a/zh-cn/application-dev/reference/apis/js-apis-geolocation.md b/zh-cn/application-dev/reference/apis/js-apis-geolocation.md index ebe0fa3d296fa83bb971fb90d34a13f576e53a80..bed48f3ffc6401166c69140a567cfaa5b258743d 100644 --- a/zh-cn/application-dev/reference/apis/js-apis-geolocation.md +++ b/zh-cn/application-dev/reference/apis/js-apis-geolocation.md @@ -411,7 +411,7 @@ on(type: 'fenceStatusChange', request: GeofenceRequest, want: WantAgent): void; { bundleName: "com.example.myapplication", abilityName: "EntryAbility", - action: "action1", + action: "action1" } ], operationType: wantAgent.OperationType.START_ABILITY, diff --git a/zh-cn/application-dev/reference/apis/js-apis-system-location.md b/zh-cn/application-dev/reference/apis/js-apis-system-location.md index b2a31156f422a66047093aa514a5ef9e249aa88f..433fb412161875ec2d95864421874b2da19259f0 100644 --- a/zh-cn/application-dev/reference/apis/js-apis-system-location.md +++ b/zh-cn/application-dev/reference/apis/js-apis-system-location.md @@ -71,9 +71,9 @@ export default { }, fail: function(data, code) { console.log('fail to get location. code:' + code + ', data:' + data); - }, + } }); - }, + } } ``` @@ -193,7 +193,7 @@ unsubscribe(): void export default { unsubscribe() { geolocation.unsubscribe(); - }, + } } ```