Explorar el Código

supermap2.5气泡名称

qinhouyu hace 1 año
padre
commit
536a38afcb
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      src/components/supermap-2.5d.vue

+ 1 - 1
src/components/supermap-2.5d.vue

@@ -756,7 +756,7 @@
                 "<span>" +
                 '                  <div class="d-l-con">' +
                 '                  <div class="d-l-l-text">' +
-                "                  <h4>名称:" + (that.queryParams.name?that.queryParams.name:'') +
+                "                  <h4>名称:" + (that.queryParams.name?that.queryParams.name:(res.data[0].name?res.data[0].name:'')) +
                 "</h4>" +
                 "                </div>" +
                 "                </div>" +