彭宇 2 år sedan
förälder
incheckning
7ca53e185e
1 ändrade filer med 2 tillägg och 2 borttagningar
  1. 2 2
      src/views/forest.vue

+ 2 - 2
src/views/forest.vue

@@ -582,7 +582,7 @@ export default {
             '                </div>' +
             '                </div>' +
             '                </span>'
-          if (this.eventList[i].picturePath != null && this.eventList[i].picturePath != ''&& this.isAssetTypeAnImage(this.eventList[i].picturePath)) {
+          if (this.eventList[i].picturePath != null && this.eventList[i].picturePath != '' && this.isAssetTypeAnImage(this.eventList[i].picturePath)) {
             markersMap.bindPopupHtml += '<span>' +
               '                  <div class="d-l-con">' +
               '                  <div class="d-l-l-text">' +
@@ -940,7 +940,7 @@ export default {
               '                </div>' +
               '                </div>' +
               '                </span>'
-            if (this.eventList[i].picturePath != null && this.eventList[i].picturePath != ''&& this.isAssetTypeAnImage(this.eventList[i].picturePath) {
+            if (this.eventList[i].picturePath != null && this.eventList[i].picturePath != '' && this.isAssetTypeAnImage(this.eventList[i].picturePath)) {
               markersMap.bindPopupHtml += '<span>' +
                 '                  <div class="d-l-con">' +
                 '                  <div class="d-l-l-text">' +