From 172790e79671196233aa1e271ba579e95cdd8fc0 Mon Sep 17 00:00:00 2001 From: chengjinsong2 Date: Thu, 27 Apr 2023 09:52:33 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E5=8F=AF=E9=80=89=E5=8F=82?= =?UTF-8?q?=E6=95=B0=E8=AF=B4=E6=98=8E?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: chengjinsong2 --- .../reference/apis/js-apis-system-parameter.md | 4 ++-- .../reference/apis/js-apis-system-parameterEnhance.md | 4 ++-- 2 files changed, 4 insertions(+), 4 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 f43838efc1..04a56228c6 100755 --- a/zh-cn/application-dev/reference/apis/js-apis-system-parameter.md +++ b/zh-cn/application-dev/reference/apis/js-apis-system-parameter.md @@ -30,7 +30,7 @@ getSync(key: string, def?: string): string | 参数名 | 类型 | 必填 | 说明 | | -------- | -------- | -------- | -------- | | key | string | 是 | 待查询的系统参数Key。 | -| def | string | 否 | 默认值。 | +| def | string | 否 | def 为所要获取的系统参数的默认值
def为可选参数,仅当系统参数不存在时生效
def可以传undefined(返回空)或自定义的任意值 | **返回值:** @@ -124,7 +124,7 @@ get(key: string, def?: string): Promise<string> | 参数名 | 类型 | 必填 | 说明 | | -------- | -------- | -------- | -------- | | key | string | 是 | 待查询的系统参数Key。 | -| def | string | 否 | 默认值。 | +| def | string | 否 | def 为所要获取的系统参数的默认值
def为可选参数,仅当系统参数不存在时生效
def可以传undefined(返回空)或自定义的任意值 | **返回值:** diff --git a/zh-cn/application-dev/reference/apis/js-apis-system-parameterEnhance.md b/zh-cn/application-dev/reference/apis/js-apis-system-parameterEnhance.md index a874db108d..164cbfe180 100755 --- a/zh-cn/application-dev/reference/apis/js-apis-system-parameterEnhance.md +++ b/zh-cn/application-dev/reference/apis/js-apis-system-parameterEnhance.md @@ -29,7 +29,7 @@ getSync(key: string, def?: string): string | 参数名 | 类型 | 必填 | 说明 | | -------- | -------- | -------- | -------- | | key | string | 是 | 待查询的系统参数Key。 | -| def | string | 否 | 默认值。 | +| def | string | 否 | def 为所要获取的系统参数的默认值
def为可选参数,仅当系统参数不存在时生效
def可以传undefined(返回空)或自定义的任意值 | **返回值:** @@ -123,7 +123,7 @@ get(key: string, def?: string): Promise<string> | 参数名 | 类型 | 必填 | 说明 | | -------- | -------- | -------- | -------- | | key | string | 是 | 待查询的系统参数Key。 | -| def | string | 否 | 默认值。 | +| def | string | 否 | def 为所要获取的系统参数的默认值
def为可选参数,仅当系统参数不存在时生效
def可以传undefined(返回空)或自定义的任意值 | **返回值:** -- GitLab