src/components/mobilePopupOurOnce/index.vue
@@ -60,7 +60,7 @@ this.srcList = this.onceData.icon; this.icon = this.srcList[0]; } if (this.onceData.from == "校园建筑" || this.onceData.from == "文化风景") { if (this.onceData.from == "社区建筑" || this.onceData.from == "文化风景") { this.getOnceCampus(this.onceData.id); } else { this.ourData = this.onceData; @@ -121,7 +121,7 @@ imgsDom.click(); } }, //"校园建筑"↓ //"社区建筑"↓ getOnceCampus(id) { getChildNavDetail({ id: id }).then((res) => { var result = res.data.data[0].list; @@ -143,7 +143,7 @@ this.ourData = d; }); }, //"校园建筑"↑ //"社区建筑"↑ }, }; </script>