Explorar el Código

添加空数据代替

xiaohaizhao hace 2 años
padre
commit
6ea2b8441d
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      pages/facility/modules/horizontalDirection.vue

+ 1 - 1
pages/facility/modules/horizontalDirection.vue

@@ -9,7 +9,7 @@
                     </text>
                 </view>
                 <view class="value">
-                    {{ item.lastvalue }}
+                    {{ item.lastvalue || '--' }}
                 </view>
             </view>
         </view>