Explorar el Código

设定范围内无该资源信息

qinhouyu hace 1 año
padre
commit
f44a444fce
Se han modificado 1 ficheros con 3 adiciones y 0 borrados
  1. 3 0
      src/views/eventdetailsdialog.vue

+ 3 - 0
src/views/eventdetailsdialog.vue

@@ -1710,6 +1710,9 @@ export default {
           url: `/center-monitor/camera/findNearbyCameras/${param.longitude}/${param.latitude}/${param.radius}`,
           method: 'get'
         }).then(res => {
+          if(res.data!=null&&res.data.length==0){
+            this.$message.warning("设定范围内无该资源信息!")
+          }
           if (res.data != null && res.data.length > 0) {
             this.resourcesListCheck.push(type)
             var markersList = []