xctc-utils 1.6.53 → 1.6.54

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.
@@ -375,7 +375,9 @@ var CanvasHooks = /** @class */ (function () {
375
375
  CanvasHooks.prototype.elementSizeFn = function (id) {
376
376
  var _ = this;
377
377
  var data = query_1.QueryElementSizeFn.bind(_, id);
378
- return data();
378
+ var result = data() || {};
379
+ console.log("elementSizeFn--result==", result);
380
+ return result;
379
381
  };
380
382
  // 右键菜单管理
381
383
  CanvasHooks.prototype.createRightClickMenuFn = function (options) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "xctc-utils",
3
- "version": "1.6.53",
3
+ "version": "1.6.54",
4
4
  "description": "localStorage存储\r ```\r sessionStorage存储\r ```\r crypto-js加密、解密\r ```\r 微信授权登录、微信分享\r ```\r 设备环境获取\r ```\r 是否是微信浏览器\r ```\r 时间戳转时间,字符串转时间戳",
5
5
  "main": "./dist/index.js",
6
6
  "types": "./dist/index.d.ts",