Skip to content

Commit

Permalink
fix(api): 修复 getInitPxTransform 中使用的 designWidth 默认值
Browse files Browse the repository at this point in the history
  • Loading branch information
ZWkang authored and ZakaryCode committed Apr 29, 2021
1 parent 9a71e60 commit dbca1fe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/taro-api/src/tools.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ export function getPreload (taro) {
export function getInitPxTransform (taro) {
return function (config) {
const {
designWidth = 700,
designWidth = 750,
deviceRatio = {
640: 2.34 / 2,
750: 1,
Expand Down

0 comments on commit dbca1fe

Please sign in to comment.