Explorar el Código

fix:隐藏logo

chenzhen2 hace 2 meses
padre
commit
eff7c25676

+ 3 - 2
src/views/envmonitor/components/Air/manualIndex.vue

@@ -998,8 +998,8 @@ export default defineComponent({
               proxyData.airTemp = proxyData.airTemp.toFixed(1);
               proxyData.airTemp = fix(proxyData.airTemp);
             }
-            proxyData.airData.maxTempSet = data.maxTempSet;
-            proxyData.airData.minTempSet = data.minTempSet;
+            proxyData.airData.maxTempSet = data.maxTempSet || 32;
+            proxyData.airData.minTempSet = data.minTempSet || 16;
             proxyData.airData.isOpen = data.runStatus ? true : false;
             proxyData.airData.runStatus = data.runStatus;
             proxyData.airData.isAutoGear = data.isAutoGear;
@@ -1020,6 +1020,7 @@ export default defineComponent({
           })
           .catch(() => {
             if (isAddTimer == 0) {
+              // proxyData.swiperIinit = false;
               proxyData.getAirInfoToTimer(3000);
             }
           });

+ 2 - 0
src/views/envmonitor/index.vue

@@ -16,6 +16,7 @@
         @touchmove="gtouchmove()"
         @touchend="showDeleteButton"
       >
+      <!--
         <div class="logo-box">
           <img class="logo-icon" v-if="logImg" :src="logImg" alt="" />
           <img
@@ -25,6 +26,7 @@
             alt=""
           />
         </div>
+        -->
         <div class="left-time">
           <span>{{ nowDate }} </span>
           <span>{{ nowWeek }}</span>