From 7496ed75b69f9ff8a6bfaa206d298a9eacf13cde Mon Sep 17 00:00:00 2001 From: zengyawen Date: Sat, 19 Mar 2022 08:50:42 +0000 Subject: [PATCH] update zh-cn/application-dev/reference/apis/js-apis-system-parameter.md. Signed-off-by: zengyawen --- .../reference/apis/js-apis-system-parameter.md | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/zh-cn/application-dev/reference/apis/js-apis-system-parameter.md b/zh-cn/application-dev/reference/apis/js-apis-system-parameter.md index a12d1c92a8..a51a7e60de 100644 --- a/zh-cn/application-dev/reference/apis/js-apis-system-parameter.md +++ b/zh-cn/application-dev/reference/apis/js-apis-system-parameter.md @@ -13,7 +13,7 @@ import parameter from '@ohos.systemParameter' ## parameter.getSync -getSync(key: string, def?: string) +getSync(key: string, def?: string): string 获取系统属性Key对应的值。 @@ -46,7 +46,7 @@ try { ## parameter.get -get(key: string, callback: AsyncCallback<string>) +get(key: string, callback: AsyncCallback<string>): void 获取系统属性Key对应的值。 @@ -77,7 +77,7 @@ try { ## parameter.get -get(key: string, def: string, callback: AsyncCallback<string>) +get(key: string, def: string, callback: AsyncCallback<string>): void 获取系统属性Key对应的值。 @@ -110,7 +110,7 @@ try { ## parameter.get -get(key: string, def?: string) +get(key: string, def?: string): Promise<string> 获取系统属性Key对应的值。 @@ -147,7 +147,7 @@ try { ## parameter.setSync -setSync(key: string, value: string) +setSync(key: string, value: string): void 设置系统属性Key对应的值。 @@ -173,7 +173,7 @@ try { ## parameter.set(key: string, value: string, callback: AsyncCallback<void>) -set(key: string, value: string, callback: AsyncCallback<void>) +set(key: string, value: string, callback: AsyncCallback<void>): void 设置系统属性Key对应的值。 @@ -205,7 +205,7 @@ try { ## parameter.set(key: string, def?: string) -set(key: string, def?: string) +set(key: string, def?: string): Promise<string> 设置系统属性Key对应的值。 -- GitLab