From fcfe278f95213c5645ba04f84731033e783a7728 Mon Sep 17 00:00:00 2001 From: Miclle Zheng Date: Mon, 28 Aug 2023 06:52:56 +0800 Subject: [PATCH] Fix typo (#2795) Co-authored-by: Lea Anthony --- .../version-v2.5.0/reference/runtime/window.mdx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/website/i18n/zh-Hans/docusaurus-plugin-content-docs/version-v2.5.0/reference/runtime/window.mdx b/website/i18n/zh-Hans/docusaurus-plugin-content-docs/version-v2.5.0/reference/runtime/window.mdx index 3c7675259..9cad686ed 100644 --- a/website/i18n/zh-Hans/docusaurus-plugin-content-docs/version-v2.5.0/reference/runtime/window.mdx +++ b/website/i18n/zh-Hans/docusaurus-plugin-content-docs/version-v2.5.0/reference/runtime/window.mdx @@ -104,7 +104,7 @@ Go: `WindowIsNormal(ctx context.Context) bool`
JS: `WindowIsNormal() bool` Go: `WindowSetSize(ctx context.Context, width int, height int)`
JS: `WindowSetSize(size: Size)` -### WindowSetSize 获取窗口尺寸 +### WindowGetSize 获取窗口尺寸 获取窗口的宽度和高度。