From c532e1e98cc53a780c641384fa9a1065a58c5746 Mon Sep 17 00:00:00 2001 From: LVB8189 Date: Tue, 30 Aug 2022 10:06:10 +0800 Subject: [PATCH] Signed-off-by: LVB8189 Changes to be committed: --- zh-cn/application-dev/reference/apis/js-apis-pasteboard.md | 4 ++-- 1 file changed, 2 insertions(+), 2 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 4ef807e982..9890aa06ae 100644 --- a/zh-cn/application-dev/reference/apis/js-apis-pasteboard.md +++ b/zh-cn/application-dev/reference/apis/js-apis-pasteboard.md @@ -777,8 +777,8 @@ setProperty(property: PasteDataProperty): void ```js var pasteData = pasteboard.createHtmlData('application/xml'); - let prop = ppasteData.getProperty(); - props.shareOption = pasteboard.ShareOption.InApp; + let prop = pasteData.getProperty(); + prop.shareOption = pasteboard.ShareOption.InApp; pasteData.setProperty(prop); ``` -- GitLab