This repository has been archived by the owner on May 12, 2023. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* fix: scale canvas to adapt dpr 小程序在手机端由于 devicePixelRatio,canvas 如果不根据设备 dpr 进行 x2 x3 的渲染会导致糊 https://juejin.cn/post/6982019644169125924 https://developers.weixin.qq.com/miniprogram/dev/component/canvas.html#Canvas-2D-%E7%A4%BA%E4%BE%8B%E4%BB%A3%E7%A0%81 * Update mp.tsx Co-authored-by: tony chen <tony.zq.chen@gmail.com>
- Loading branch information