Number of spots must be at least 1 spot to render/update
这个提交包含在:
父节点
dc7abe462f
当前提交
1dc278847c
共有 1 个文件被更改,包括 2 次插入 和 2 次删除
|
|
@ -130,7 +130,7 @@ $(function() {
|
||||||
dataType: "json"
|
dataType: "json"
|
||||||
}).done(function(dxspots) {
|
}).done(function(dxspots) {
|
||||||
spots4chart=[];
|
spots4chart=[];
|
||||||
if (dxspots.length>1) {
|
if (dxspots.length>0) {
|
||||||
dxspots.sort(SortByQrg);
|
dxspots.sort(SortByQrg);
|
||||||
dxspots=reduce_spots(dxspots);
|
dxspots=reduce_spots(dxspots);
|
||||||
dxspots.forEach((single) => {
|
dxspots.forEach((single) => {
|
||||||
|
|
@ -152,7 +152,7 @@ $(function() {
|
||||||
dataType: "json"
|
dataType: "json"
|
||||||
}).done(function(dxspots) {
|
}).done(function(dxspots) {
|
||||||
spots4chart=[];
|
spots4chart=[];
|
||||||
if (dxspots.length>1) {
|
if (dxspots.length>0) {
|
||||||
dxspots.sort(SortByQrg);
|
dxspots.sort(SortByQrg);
|
||||||
dxspots=reduce_spots(dxspots);
|
dxspots=reduce_spots(dxspots);
|
||||||
dxspots.forEach((single) => {
|
dxspots.forEach((single) => {
|
||||||
|
|
|
||||||
正在加载…
在新工单中引用