From c9e7a8e50e5317abf4141e39b30e411ce25501cd Mon Sep 17 00:00:00 2001 From: qimeng Date: Tue, 11 Oct 2022 20:07:19 +0800 Subject: [PATCH] Signed-off-by: qimeng Changes to be committed: modified: zh-cn/application-dev/reference/apis/js-apis-pasteboard.md --- .../reference/apis/js-apis-pasteboard.md | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/zh-cn/application-dev/reference/apis/js-apis-pasteboard.md b/zh-cn/application-dev/reference/apis/js-apis-pasteboard.md index ec98ee7512..4d4b7c347b 100644 --- a/zh-cn/application-dev/reference/apis/js-apis-pasteboard.md +++ b/zh-cn/application-dev/reference/apis/js-apis-pasteboard.md @@ -687,7 +687,7 @@ addRecord(mimeType: string, value: ValueType): void **错误码:** | 错误码ID | 错误码信息 | | -------- | -------- | -| 12900002 | if the count of records in PasteData exceeds MAX_RECORD_NUM. | +| 12900002 | The number of record exceeds the maximum limit. | **示例:** @@ -806,8 +806,8 @@ getRecord(index: number): PasteDataRecord **错误码:** | 错误码ID | 错误码信息 | | -------- | -------- | -| 12900001 | if type of index is not number. | -| 12900002 | if index is out of the record count of PasteData. | +| 12900001 | The index is out of range. | +| 12900002 | The number of record exceeds the maximum limit. | **示例:** @@ -902,7 +902,7 @@ removeRecord(index: number): void **错误码:** | 错误码ID | 错误码信息 | | -------- | -------- | -| 12900002 | if index is out of the record count of PasteData. | +| 12900002 | The number of record exceeds the maximum limit. | **示例:** @@ -929,7 +929,7 @@ replaceRecord(index: number, record: PasteDataRecord): void **错误码:** | 错误码ID | 错误码信息 | | -------- | -------- | -| 12900002 | if index is out of the record count of PasteData. | +| 12900002 | The number of record exceeds the maximum limit. | **示例:** @@ -1293,7 +1293,7 @@ setData(data: PasteData, callback: AsyncCallback<void>): void **错误码:** | 错误码ID | 错误码信息 | | -------- | -------- | -| 12900003 | if another setData is being processed or the system prohibits copying. | +| 12900003 | Another copy or paste is in progress. | **示例:** @@ -1332,7 +1332,7 @@ setData(data: PasteData): Promise<void> **错误码:** | 错误码ID | 错误码信息 | | -------- | -------- | -| 12900003 | if another setData is being processed or the system prohibits copying. | +| 12900003 | Another copy or paste is in progress. | **示例:** @@ -1363,7 +1363,7 @@ getData( callback: AsyncCallback<PasteData>): void **错误码:** | 错误码ID | 错误码信息 | | -------- | -------- | -| 12900003 | if another getData is being processed. | +| 12900003 | Another copy or paste is in progress. | **示例:** @@ -1395,7 +1395,7 @@ getData(): Promise<PasteData> **错误码:** | 错误码ID | 错误码信息 | | -------- | -------- | -| 12900003 | if another getData is being processed. | +| 12900003 | Another copy or paste is in progress. | **示例:** -- GitLab