|
@@ -313,6 +313,9 @@ export default {
|
|
|
// console.log(this.mapDiyObj.center)
|
|
|
},
|
|
|
click(e) {
|
|
|
+ if (!that.isDbShow) {
|
|
|
+ return
|
|
|
+ }
|
|
|
const { lng, lat } = e.lnglat
|
|
|
// console.log(lng, lat)
|
|
|
that.mapDiyObj.center = [lng, lat]
|
|
@@ -765,6 +768,9 @@ export default {
|
|
|
curMap.setFeatures(data)
|
|
|
},
|
|
|
getList () {
|
|
|
+ if (!this.isDbShow) {
|
|
|
+ return
|
|
|
+ }
|
|
|
const query = this.$route.query
|
|
|
// this.$api.other.admmapcoordindatalist({
|
|
|
this.$api.other.admmapcoordinaround({
|