diff --git a/src/views/modules/communityParty/organization/orgDetail.vue b/src/views/modules/communityParty/organization/orgDetail.vue index 27057fd87..852938047 100644 --- a/src/views/modules/communityParty/organization/orgDetail.vue +++ b/src/views/modules/communityParty/organization/orgDetail.vue @@ -64,7 +64,6 @@ import nextTick from 'dai-js/tools/nextTick' import daiMap from "@/utils/dai-map"; import { requestPost } from '@/js/dai/request' - import { log } from 'console'; var map var search @@ -108,30 +107,7 @@ // map.destroy() } }, - // async initForm (row) { - // this.startLoading() - // let { latitude, longitude } = this.$store.state.user; - // this.unitId = row.id - // await this.getDetail() - - // if (!latitude || latitude == "" || latitude == "0") { - // latitude = 39.9088810666821; - // longitude = 116.39743841556731; - // } - // this.$nextTick(() => { - // if (!map) { - // this.initMap(latitude, longitude) - // } else { - // map.setCenter(latitude, longitude); - // map.setMarker(latitude, longitude); - - // } - - // }) - - // this.endLoading() - - // }, + async initForm (row) { this.startLoading() // this.formData = JSON.parse(JSON.stringify(row))