diff --git a/docs/component/canvas.md b/docs/component/canvas.md index b8c63b92c296aa9bba3dd000961eaf9ae72e7248..206670664176c01e5d9ce8997d0786acb76f96ff 100644 --- a/docs/component/canvas.md +++ b/docs/component/canvas.md @@ -15,3 +15,30 @@ + +## API + +和 W3C 规范保持一致 [https://developer.mozilla.org/zh-CN/docs/Web/HTML/Element/canvas](https://developer.mozilla.org/zh-CN/docs/Web/HTML/Element/canvas) + +**注意事项**@hidpi + +uni-app 1 canvas 组件内部默认处理了高清逻辑,uni-app x 和 W3C 规范一致,需要开发者根据自己的场景手动处理 + +```html + + +```