diff --git a/src/views/charts2/charts/entityDetail/EntityDetailMap.vue b/src/views/charts2/charts/entityDetail/EntityDetailMap.vue
index 72b3fe33..a05414ab 100644
--- a/src/views/charts2/charts/entityDetail/EntityDetailMap.vue
+++ b/src/views/charts2/charts/entityDetail/EntityDetailMap.vue
@@ -13,8 +13,10 @@
-
+
+
+
@@ -189,7 +191,7 @@ import unitConvert from '@/utils/unit-convert'
import { defaultMapConfig, storageKey, unitTypes } from '@/utils/constants'
import { h3ToGeo, h3ToGeoBoundary } from 'h3-js'
import { overwriteUrl, urlParamsHandler } from '@/utils/tools'
-import SimpleLoading from '@/components/common/SimpleLoading'
+import Loading from '@/components/common/Loading'
const humanSvg = '
'
const baseStationSvg = '
'
@@ -199,7 +201,7 @@ export default {
components: {
ChartError,
ChartNoData,
- SimpleLoading
+ Loading
},
data () {
return {
@@ -526,6 +528,7 @@ export default {
level: this.mapLevel
}
this.trackingSubscriber.subscriberId = this.entity.entityName
+ this.trackingMapLoading = true
try {
const response = await axios.get(api.location.tracking, { params })
this.trackingMapLoading = false
@@ -882,6 +885,12 @@ export default {
this.trackingSubscriber.scrollEndIndex = 11
this.trackingSubscriber.startOffset = 0
this.trackingSubscriber.listHeight = 0
+ },
+ developmentClick () {
+ const dev = process.env.NODE_ENV
+ if (dev) {
+ this.trackingMapLoading = false
+ }
}
},
setup () {