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 获取窗口尺寸 获取窗口的宽度和高度。