guy 2 years ago
parent
commit
9d2264c480
  1. 4
      src/core/constant/var.js

4
src/core/constant/var.js

@ -16,7 +16,7 @@ BI._.extend(BI, {
pixUnit: "px",
pixRatio: 1,
// 一定返回最终的单位
toPix: function (pix, border) {
pixFormat: function (pix, border) {
if (!BI.isNumber(pix)) {
return pix;
}
@ -29,7 +29,7 @@ BI._.extend(BI, {
}
return length;
},
pixFormat: function (pix, border) {
toPix: function (pix, border) {
if (!BI.isNumber(pix)) {
return pix;
}

Loading…
Cancel
Save