Browse Source

切换底图组件

shuhao 1 month ago
parent
commit
f1b10319f9
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/views/warningHome/index.vue

+ 1 - 1
src/views/warningHome/index.vue

@@ -57,7 +57,7 @@
                 <div class="map-legend" v-if="legendImg && hideChatMapLayer">
                     <img :src="legendImg" />
                 </div>
-                <div class="map-legend chat-legend" v-if="!hideChatMapLayer">
+              <div class="map-legend chat-legend" v-show="!legendImg || !hideChatMapLayer">
                     <StaticMapLegend></StaticMapLegend>
                 </div>
             </div>