emacroh5lib 1.0.37 → 1.0.38

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.37",
3
+ "version": "1.0.38",
4
4
  "description": "EMacro前端组件库",
5
5
  "main": "dist/emacroh5lib.min.js",
6
6
  "scripts": {
@@ -359,9 +359,10 @@
359
359
 
360
360
  // Zoom action
361
361
  zoom(type) {
362
- let image = this.image,
363
- w = +this.getStyleByName(image, "width").split("px")[0],
364
- h = +this.getStyleByName(image, "height").split("px")[0];
362
+ let image = this.image;
363
+ console.log("zoom缩放", image);
364
+ let w = +this.getStyleByName(image, "width").split("px")[0];
365
+ let h = +this.getStyleByName(image, "height").split("px")[0];
365
366
 
366
367
  if (h <= 20 && type === "out") return;
367
368