@vtx/map 1.2.35 → 1.2.37

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.
@@ -2572,8 +2572,9 @@ var OlMap = /*#__PURE__*/function (_React$Component) {
2572
2572
  value: function refresh() {
2573
2573
  var t = this;
2574
2574
  var timer = setTimeout(function () {
2575
+ var _window$VtxMap$t$prop;
2575
2576
  clearTimeout(timer);
2576
- window.VtxMap[t.props.mapId].redrawText();
2577
+ (_window$VtxMap$t$prop = window.VtxMap[t.props.mapId]) === null || _window$VtxMap$t$prop === void 0 || _window$VtxMap$t$prop.redrawText();
2577
2578
  }, 100);
2578
2579
  }
2579
2580
  // 添加先