Commit 6da9d5e0 authored by yaqizhang's avatar yaqizhang

隐患

parent 7ba722e3
......@@ -627,6 +627,7 @@ export default class GIS extends Vue {
function (res: any) {
if (res.code == 0) {
that.tjNumberObj = res.data;
console.log("that.tjNumberObj",that.tjNumberObj)
let obj = res.data,
arr: any = [];
arr.push({
......@@ -677,8 +678,8 @@ export default class GIS extends Vue {
center: center
})
}
if (res.code == 0 && res.data.goodsList.length > 0) {
that.yhmapData = res.data.goodsList;
if (res.code == 0 && res.data.troubleList.length > 0) {
that.yhmapData = res.data.troubleList;
let yhlatSum = 0;
let yhlngSum = 0;
that.yhmapData.forEach((ele: any, index: any) => {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment