瀏覽代碼

修改4号板子的bug

wzh 2 年之前
父節點
當前提交
f5b17d1d2c
共有 1 個文件被更改,包括 1 次插入2 次删除
  1. 1 2
      pages/device/detail.vue

+ 1 - 2
pages/device/detail.vue

@@ -2534,7 +2534,6 @@ export default {
         self.mqttSubscribe(res.data);
         self.getDeviceStatus();
         self.seeTime();
-
         let heng = false;
         self.productImage = self.imgUrl+'/detail/product.png'
         if(self.deviceType == 13 || self.deviceType == 14){
@@ -2570,7 +2569,7 @@ export default {
         }
         self.fixImage(heng);
 
-        if(self.boardType = 4){
+        if(self.boardType == 4){
           self.boardStyle  = ";top:15vh;";
           self.modeList=[[
             {id:1,text:"1"},