emacroh5lib 1.0.67 → 1.0.68

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "emacroh5lib",
3
- "version": "1.0.67",
3
+ "version": "1.0.68",
4
4
  "description": "EMacro前端组件库",
5
5
  "main": "dist/emacroh5lib.min.js",
6
6
  "scripts": {
@@ -271,8 +271,8 @@
271
271
  } else {
272
272
  rate = height / document.body.clientHeight
273
273
  }
274
- width = width / rate
275
- height = height / rate
274
+ width = (width / rate) * 0.8
275
+ height = (height / rate) * 0.8
276
276
  }
277
277
 
278
278
  $this.setStyleByName(image, "width", `${width}px`);