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 f43838efc108328c8c10fe6737bd6f352fea1235..04a56228c6a240a710430585c75f8849dd7047ae 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 a874db108d9df73006a3ec00a493d4ec120d0add..164cbfe180c1dd5a73436aa2f757fccaf4acb389 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(返回空)或自定义的任意值 | **返回值:**