From 1b2c1edb61190eeb19f465ff031eaa3b2a1b8dbc Mon Sep 17 00:00:00 2001
From: nnnjjj123 <494715143@qq.com>
Date: Tue, 17 Nov 2020 10:43:54 +0800
Subject: [PATCH] 地图图标
---
widgets/MapSection/SectionChart.js | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/widgets/MapSection/SectionChart.js b/widgets/MapSection/SectionChart.js
index d2087cb..5b46558 100644
--- a/widgets/MapSection/SectionChart.js
+++ b/widgets/MapSection/SectionChart.js
@@ -15,6 +15,7 @@
],
function (declare, lang, html, _WidgetBase, _TemplatedMixin,
on, mouse, query, xhr, topic, JSON,domConstruct,echarts) {
+
return declare([_WidgetBase, _TemplatedMixin], {
templateString: '<div style="width:100%;height:100%;"><div style="width:100%;height:100%;" >' +
@@ -80,10 +81,9 @@
},
isResize:true,
- postCreate: function () {
+ postCreate: function () {
this.inherited(arguments);
this.query();
-
this.step = 0;
var lg = this.GetDistance(this.oList[0].lttd,this.oList[0].lgtd,this.oList[99].lttd,this.oList[99].lgtd);
this.step = lg/99;
--
Gitblit v1.9.3