From 0eee45032dc44b7538b04154a505a878bbb0babd Mon Sep 17 00:00:00 2001 From: hdx Date: Mon, 24 Jun 2024 18:30:44 +0800 Subject: [PATCH] =?UTF-8?q?canvas:=20=E8=B0=83=E6=95=B4=E8=A7=84=E8=8C=83?= =?UTF-8?q?=E6=B3=A8=E6=84=8F=E4=BA=8B=E9=A1=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- docs/component/canvas.md | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/docs/component/canvas.md b/docs/component/canvas.md index 382b72d6..e06ce708 100644 --- a/docs/component/canvas.md +++ b/docs/component/canvas.md @@ -22,7 +22,11 @@ ## 注意事项@hidpi -uni-app 1 canvas 组件内部默认处理了高清逻辑,uni-app x 和 W3C 规范一致,需要开发者根据自己的场景手动处理 +老版本 canvas 使用了微信小程序的的旧版规范,和 W3C 规范有差异 + +uni-app x 废弃了老版方案,使用了 W3C 规范和微信小程序的新版规范 + +新版规范需要开发者根据自己的场景手动处理高清屏问题 ```html