zhulizhen1111 4 years ago
parent
commit
5c18e45c8d
1 changed files with 3 additions and 2 deletions
  1. 3 2
      src/views/legendLibrary/index.vue

+ 3 - 2
src/views/legendLibrary/index.vue

@@ -110,7 +110,7 @@
                 </el-table-column>
                 <el-table-column prop='style' label='图例样式' width='150'>
                     <template slot-scope='{row}'>
-                        <img :class='`${row.Type!="Image"?"img1":"img"}`' :src='`/serve/topology-wanda/Picture/query/${row.Url}`' alt />
+                        <img :class='`${row.Type=="Zone"?"img1":"img"}`' :src='`/serve/topology-wanda/Picture/query/${row.Url}`' alt />
                     </template>
                 </el-table-column>
                 <el-table-column prop='Unit' label='单位' width='120'>
@@ -573,7 +573,8 @@ export default {
             height: 28px;
         }
         .img1 {
-            width: 44px;
+            width: 32px;
+            height: 18px;
         }
     }
     .foot {