fl-web-component 1.1.6 → 1.1.8

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.
@@ -39,7 +39,8 @@
39
39
  this.onWindowResize;
40
40
  });
41
41
  svgEmbed.addEventListener('load', () => {
42
- console.log(svgPanZoom)
42
+ preTargetCon.splice(0)
43
+ preTargetStyle.splice(0)
43
44
  svgTigger = svgPanZoom('#svg-tigger', {
44
45
  viewportSelector: '.svg-pan-zoom_viewport',
45
46
  panEnabled: true,
@@ -109,7 +110,7 @@
109
110
  /*
110
111
  参数:svgIds: [], 需要高亮的id的集合, flag: true / false, 是否要定位目标元素, color: '', 高亮的颜色
111
112
  */
112
- highLight(svgIds, flag, color) {
113
+ highLight(svgIds, flag = false, color) {
113
114
  console.log(svgIds)
114
115
  if (svgIds === null || svgIds === undefined) {
115
116
  throw new Error('svgIds should be an array');
@@ -99,6 +99,7 @@ function handleInstancedMeshModel(instances, drawObjs, type, scene, customColor,
99
99
 
100
100
  }
101
101
  console.log('modelGroup', modelGroup)
102
+ console.log('drawObjMapInstance', drawObjMapInstance)
102
103
  return modelGroup;
103
104
  // timeRender();
104
105
  // console.log('scene', scene)