|
@@ -351,8 +351,8 @@ export default {
|
|
|
handleTabClick(tab) {
|
|
|
if (tab.name === 'tab2') {
|
|
|
// 切换到地图tab时,调用地块定位,使用objectid
|
|
|
- if (this.detailData && this.detailData.objectid) {
|
|
|
- this.locationDk(null, { objectid: this.detailData.objectid });
|
|
|
+ if (this.projectDetail && this.projectDetail.objectid) {
|
|
|
+ this.locationDk(null, { objectid: this.projectDetail.objectid });
|
|
|
}
|
|
|
}
|
|
|
},
|