Browse Source

删除打印

V1.0
张若晨 2 years ago
parent
commit
71d8eced6c
  1. 7
      src/views/dataBoard/overview/index.vue

7
src/views/dataBoard/overview/index.vue

@ -287,7 +287,6 @@ export default {
}, },
clickBreadItem({ item }) { clickBreadItem({ item }) {
console.log("item::", item);
this.toBread(item); this.toBread(item);
}, },
@ -299,14 +298,9 @@ export default {
}); });
}, },
goBackMap() { goBackMap() {
console.log(
"this.breadList[this.breadList.length - 2]::",
this.breadList[this.breadList.length - 2]
);
this.clickAgencyItem(this.breadList[this.breadList.length - 2]); this.clickAgencyItem(this.breadList[this.breadList.length - 2]);
}, },
toBread(item) { toBread(item) {
console.log(item);
const { orgId } = item; const { orgId } = item;
const { breadList } = this; const { breadList } = this;
let index = breadList.findIndex((val) => val.orgId === orgId); let index = breadList.findIndex((val) => val.orgId === orgId);
@ -317,7 +311,6 @@ export default {
breadList.push({ ...item, id: item.orgId, level: item.orgLevel }); breadList.push({ ...item, id: item.orgId, level: item.orgLevel });
this.breadList = breadList; this.breadList = breadList;
} }
console.log("this.breadList::", this.breadList);
this.getMapData(item.orgId, item.orgLevel); this.getMapData(item.orgId, item.orgLevel);
}, },

Loading…
Cancel
Save