liuyg
2021-06-22 1a2c1d005bf7de2528f73638fb24d31da812aad5
widgets/FlyRoute/Widget.js
@@ -14,10 +14,12 @@
         topic.subscribe("closeFlyRoute", lang.hitch(this, this.closeFlyRoute));
         var self = this;
         // this.inherited(arguments);
         $('.close-flyrouter').click(function () {
            self.closeFlyRoute('FlyRoute')
            self.closeFlyRoute('FlyRoute');
            $('.jimu-widget-visualAngle').find('.v-a-Two').removeClass('on');//清楚样式
            topic.publish('closeFly', 'closeFly');
         });
      },
@@ -46,7 +48,7 @@
               }
               // }
               self._loadRoute(self.allRoutes[0].sites);
               $("#flightRoute").on("change", function (e) {
@@ -238,7 +240,7 @@
         this.resize();
      },
      resize: function resize() {},
      resize: function resize() { },
      destroy: function destroy() {
         //销毁的时候触发