Просмотр исходного кода

[Style 0000] 修复Header中天气信息的相关样式问题

houzekong 1 день назад
Родитель
Сommit
74cde4b805
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      src/layouts/default/header/components/weatherBroadcast.vue

+ 1 - 1
src/layouts/default/header/components/weatherBroadcast.vue

@@ -7,7 +7,7 @@
     </a-badge> -->
       <div style="display: flex; flex-direction: row" class="btn-header">
         <img :src="parseWeatherData(weatherObj.text)" class="weather-icon" />
-        <span class="unit">{{ weatherObj.pressure }} hPa</span>
+        <span class="unit">{{ weatherObj.pressure }}hPa</span>
         <FileSearchOutlined style="font-size: 18px; color: #fff; line-height: 50px" />
       </div>
     </div>