atr-components 0.2.243 → 0.2.244

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.
@@ -400,7 +400,6 @@ class ToolsUtil {
400
400
  static resetFormValue(opt, json) {
401
401
  for (let item of opt.items) {
402
402
  item.value = "";
403
- // console.log(item.value);
404
403
  for (const key of Object.keys(json)) {
405
404
  if (json.hasOwnProperty(key) && json[key] != null && json[key] != undefined && key == item.key) {
406
405
  if (item.type == 'date')
@@ -549,7 +548,6 @@ class ToolsUtil {
549
548
  a.click();
550
549
  }
551
550
  static downloadXls(url, params) {
552
- console.log(params);
553
551
  if (params) {
554
552
  url += "?";
555
553
  for (const key of Object.keys(params)) {
@@ -558,7 +556,6 @@ class ToolsUtil {
558
556
  }
559
557
  }
560
558
  }
561
- console.log(url);
562
559
  // window.open(url);
563
560
  const a = document.createElement('a');
564
561
  a.href = url;
@@ -590,7 +587,6 @@ class ToolsUtil {
590
587
  let dataUrl = c.toDataURL();
591
588
  let str = c.width + "," + c.height + "}";
592
589
  dataUrl = dataUrl.slice(0, 50) + str + dataUrl.slice(50);
593
- console.log('getImg', dataUrl);
594
590
  //不保存
595
591
  // SessionStorageUtil.setImg(url, dataUrl)
596
592
  resolve(img);
@@ -4903,7 +4899,6 @@ class ImgCanvasComponent {
4903
4899
  this.goClip(context1);
4904
4900
  }
4905
4901
  // 参数 1:要绘制的 img 参数 2、3:绘制的 img 在 canvas 中的坐标 参数4,5是width,height
4906
- console.log("图片加载完毕 typeof", typeof this.img, Object.prototype.toString.call(this.img));
4907
4902
  context1.drawImage(this.img, 0, 0, this.width, this.height);
4908
4903
  this.loadOver.emit({ code: 'loadOver' });
4909
4904
  });