diff --git a/front/src/supermap/map-showResource.js b/front/src/supermap/map-showResource.js index 8990447e..3aab1872 100644 --- a/front/src/supermap/map-showResource.js +++ b/front/src/supermap/map-showResource.js @@ -83,11 +83,12 @@ function createMarkerClusterLayer(layerClassName, mapObj) { maxClusterRadius: 80, }) markerClusterLayer.on('clusterclick', function(a) { - //console.log('cluster ' + a.layer.getAllChildMarkers().length); + //console.log('cluster ' + a.layer.getAllChildMarkers()); if (a.layer.getAllChildMarkers().length < 50) { let clusterList = []; for (var i = 0; i < a.layer.getAllChildMarkers().length; i++) { //console.log('yyyyyyyyy', a.layer.getAllChildMarkers()[i].resourceData); + //console.log('yyyyyyyyy', a.layer.getAllChildMarkers()[i].fData); clusterList.push(a.layer.getAllChildMarkers()[i].resourceData); } //console.log('clusterList ' + a.layer.getAllChildMarkers(array, true)); diff --git a/front/src/utils/request.js b/front/src/utils/request.js index dfcce28a..282c6e97 100644 --- a/front/src/utils/request.js +++ b/front/src/utils/request.js @@ -23,10 +23,8 @@ let loadingInstance * @param {*} msg */ const handleCode = (code, msg, res) => { - // debugger switch (code) { case 401: - debugger store.dispatch('user/resetAll').catch(() => {}) break case 403: @@ -66,7 +64,6 @@ const instance = axios.create({ */ instance.interceptors.request.use( (config) => { - // debugger const token = getAccessToken() if (token) config.headers[tokenName] = token if ( @@ -157,7 +154,6 @@ instance.interceptors.response.use( // } }, (error) => { - // debugger console.log('接口error', error) if (loadingInstance) loadingInstance.close() diff --git a/front/src/views/home/AbilityToApplyFor.vue b/front/src/views/home/AbilityToApplyFor.vue index dd1f572c..6a838ab7 100644 --- a/front/src/views/home/AbilityToApplyFor.vue +++ b/front/src/views/home/AbilityToApplyFor.vue @@ -267,7 +267,7 @@